Facebook Graph API apprequests node doesn't return "from" -
moving fql graph api, found v2.2 graph api apprequests node returns inconsistent responses.
https://graph.facebook.com/v2.2/<id>/apprequests
sometimes returns json "from" field , not. correct json is:
"application": { "name": "myapp", "namespace": "my ns", "id": "123456" }, "created_time": "2015-03-16t19:34:00+0000", "data": "invite", "from": { "id": "111111", "name": "sender name" }, "message": "come , play!", "to": { "id": "99999", "name": "recipient" }, "id": "123_456" }
however, "from" field in json missing (even when requesting in "fields" parameter).
when using fql, sender_uid field (with same app token , same user):
select request_id, app_id, recipient_uid, sender_uid apprequest app_id = <appid> , recipient_uid=<fbid>
can explain mystery?
facebook's response after investigating bug: design. there privacy restrictions on graph api didn't apply deprecated fql.
we investigated on our end , found happens when user blocked application or removed facebook's third party integration.
Comments
Post a Comment