简体   繁体   中英

In FaceBook Graph API v2.4, how can I include pictures/icons of the posts in the JSON feed?

I'm able to get JSON posts feed for a Public Group Page in FaceBook. However, the feed is limited to the following:

{
   "data": [
      {
         "message": "RT Ad Age: Creatives rejoice! The need for speed in digital is putting copy testing under fire http://buff.ly/1NCNUYm",
         "created_time": "2015-09-16T19:17:22+0000",
         "id": "100893736659527_876911945724365"
      },
      {
         "message": "Smart Design Means Treating Your Users Like Friends.",
         "created_time": "2015-09-15T19:17:07+0000",
         "id": "100893736659527_876382499110643"
      },
      {
         "message": "Amazon Puts Another Nail in Flash\u2019s Coffin http://buff.ly/1NzwFal (via Digiday)",
         "created_time": "2015-09-14T17:25:52+0000",
         "id": "100893736659527_875881985827361"
      },
      {
         "message": "Is Belvedere Vodka Good Enough For James Bond?",
         "created_time": "2015-09-11T19:17:14+0000",
         "id": "100893736659527_874377899311103"
      },
      {
         "message": "RT MailChimp: Our GIPHY integration makes it easy to upload GIFs into your campaign. Exciting, right? http://buff.ly/1JQChqz",
         "created_time": "2015-09-10T19:17:14+0000",
         "id": "100893736659527_873864092695817"
      }
}

I'm able to get the message text, created_time, and id. How can I include pictures/icons of the post?

@WizKid 在上面回复后,这对我有用: https://graph.facebook.com/v2.4/[page-id]/feed?access_token=[access_token]&fields=picture,id,message ://graph.facebook.com/v2.4/[page-id]/feed?access_token=[access_token]&fields=picture,id,message

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM