Graph API & Real-Time updates -
Graph API & Real-Time updates -
my need have facebook poll server using post requests whenever user has "allowed / installed" application changes something, eg, checkins.
i have followed page @ http://developers.facebook.com/docs/api/realtime thoroughly , have set subscription.
when place request subscriptions graph below response.
{ "data": [ { "object": "user", "callback_url": "http://www.hidden.com/forsecurity/callback.php", "fields": [ "checkins", "feed" ], "active": true } ] }
which tells me subscription set up, , when user has authenticated app, changes feed / checkins, post request should sent callback_url.
the problem is, not. have googled, troubleshooted, googled more, redid , can't seem find answer.
i have tested callback.php file posting it, , captured data, capture in $_post create sure if there capture it.
i've added if statements write file if file accessed , !empty($_post)
i tried checking in, making wall posts everything. not poll callback php.
does have thought this?
thanks. mandus
update
it seems after 60 minutes, started working. takes while activated.
api facebook-graph-api graph updates real-time-updates
Comments
Post a Comment