New Facebook API fetching newsfeed and its comments -


is there way newsfeed , comments new changes facebook making on july, 2013 - https://developers.facebook.com/roadmap/

what im trying do?

i want fetch latest newsfeed comments (if comments on it) one api call, if group api call.

old way of doing it:

1) fetching stream table comments field (comment field deprecated now)

2) fetching graph comments field (which removed now)


quick links

how using fql? no longer worry because need post_id stream:

{"query1":"select post_id, actor_id, created_time, message stream filter_key in (select filter_key stream_filter uid=me() , type='newsfeed') , created_time<=now() limit 5 ","query2":"select post_id, id, fromid, time, text, user_likes, likes comment post_id in (select post_id #query1) limit 5 ","query3":"select id, name, pic_square profile id in (select actor_id #query1) or id in (select fromid #query2)"} 

please test graph api explorer(migration settings of "july 2013 breaking changes" enable), works expected(of course, need granted permission read_stream).


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -