Monday, 15 April 2013

facebook - Getting public event feed with pictures of the people who commented -



facebook - Getting public event feed with pictures of the people who commented -

i'm creating website going implement equivalent of facebook wall. each public event, i'm creating page , getting feed of each event via graph api issuing post message on /event_id/feed.

facebook returns comments/posts of users in array , can retrieve message of each post along user_id made post or wrote message.

the problem i'm required display image of user_id i'm getting through json object facebook.

can include somehow users pictures in json object i'm receiving facebook? if not, making series of facebook api calls (looping through user ids) seems unprofessional. there other solution though?

thank you.

field expansion friend:

event_id/feed?fields=id,message,from.fields(name,id,picture)

facebook facebook-graph-api facebook-javascript-sdk

No comments:

Post a Comment