I'm trying to implement Facebook Real Time Update in a proper manner. (https://developers.facebook.com/docs/reference/api/realtime/).
Everything is done according to the instructions given in this page, but the returned JSON from Facebook is missing interesting information.
The JSON is for example:
{"object":"user","entry":[{"uid":"1408932149","id":"1408932149","time":1370253930,"changed_fields":["feed"]}]}
But the event that induced the event was a comment on a facebook-page. I want more information. For example the id of the post, id of the comment and similar vital information.
Why is Facebook only returning that the field "feed" changed and not the id of the comment?
Regards, Jonas
Update: found this, sounds promising: http://allfacebook.com/page-posts-real-time-updates-api_b111225
I have the same problem. As far as I can tell, this is what FB's system was designed to do, even though we would really LIKE to get higher granularity information pushed (and it would likely be more efficient for FB's servers, since as it is now, developers may have to write code that digs through the feed to find the relevant comment or such, possibly fetching quite a lot of stuff we through away, just to get one comment).
Bummer. If anyone has any good ideas to offer, I'd be grateful. We want our app to react to certain comments on a user's wall, which we do already for the user's own status updates, but to do it for comments it looks like we would have to scrape the whole feed (which sounds impractical at scale), since the new comment could be on an old status update.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With