douzhi4830 2015-03-07 11:19
浏览 38
已采纳

我无法订阅facebook页面实时更新api v2.0

my question about page realtime subscriptions : In the documentation to make an app receive a page subscriptions i should make this request : make a post request to : page_id/tabs params : app_id with a page access token.

this request not working anymore and the page don't send a page subscriptions to the callback url . i am using API 2.0 also i can't stop a page from sending subscriptions to my callback url (in case there is a page that already sending subscriptions): Please note that : i checked the documentation on the upgrading section https://developers.facebook.com/docs/apps/upgrading in api v 2.2 there is a new call to realtime subscriptions :

so if i want to subscribe to a page i use this request :

post request => page_id/subscribed_apps with page access token.

to delete a subscription use : delete request => page_id/subscribed_apps with page access token

to know what apps this page subscribed to : get request => page_id/subscribed_apps with page access token.

i made the above requests using api v 2.2 using graph api explorer and everything wrks fine and i started to receive subscriptions to my callback url.

Note : there is no problem in the backend code (the callback url code), it already working with v 2.2 and the old subscribed pages.

Please advice, should i upgrade my api calls to v2.2 ? or there is a working solution for 2.0 ?

  • 写回答

1条回答 默认 最新

  • dongxi6897 2015-05-09 00:24
    关注

    I ended up upgrading to v2.2 since based on the documentation the endpoint tabs no longer available.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部