I am getting facebook news feed in my iPhone application.But its not complete for some types of news feeds. If the type of news feed is "photo" i can't get thumbnail image.I tried by calling such url..
https://graph.facebook.com/801013079_144997952238328 where "801013079_144997952238328" is the news feed id.. But it was not returning a picture to show thumbnails..
Please help me to solve this problem.
Thanks in advance.
The news feed from graph itself isn't a photo. A simple way to do it is to parse the feed itself, get the picture url from the feed where the type=photo
To clear out some of the clutter you can add fields=type,object_id,picture
https://graph.facebook.com/me/home?access_token=youraccesstoken&fields=type,object_id,picture
Note that the object_id is the id of the news feed item. If you use graph to get the object id, you'll get a number of links to the image in various sizes, but if you really want the thumbnail, the picture value from the feed is just fine.
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.