문제

I am unable to add "notifications" to the "Realtime Update Subscriptions" of my app in Facebook. In the "Realtime Updates API" page of the Apps Settings in developers.facebook.com, I have the following settings:

Object: user
Fields: notifications
Callback: http://myserver/callback
Verify token: my_token

if the Fields is set to "feed", it works, but if I attempt to save with Fields set to "notifications", it failed with the following error:

Error Couldn't save 'user': Application cannot subscribe to notifications

Is there anything I need to configure? I have tried adding all "Permissions" under "Permissions" page.

Any input will be highly appreciated! Thanks in advance!

도움이 되었습니까?

해결책

"Note that you can not subscribe to changes on all properties and connections of the User object. Connections to which you can subscribe include: feed, friends, activities, interests, music, books, movies, television, likes, checkins, location, events."

https://developers.facebook.com/docs/reference/api/realtime/

@CBroe is indeed correct... my bad :|

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top