How to subscribe to real-time updates for a Facebook page's wall

后端 未结 6 1938
遇见更好的自我
遇见更好的自我 2020-11-30 23:04

Facebook\'s real-time updates docs now say that you can get the feed for a page:

You can subscribe to the page\'s feed in the same way you subscribe t

6条回答
  •  囚心锁ツ
    2020-11-30 23:57

    I have been researching on this and i am getting the pushes for pages too.

    1. while subscribing make sure that object = user and fields = feed, status is present.

    2. Make sure that application is added to your page, then only you will receive the update.

    3. Response received from facebook is as below :-

    {"entry":[{"id":"*******","uid":"*****","time":1332940650,"changed_fields":["status"]}],"object":"user"}

    where **** is my pageId.

    The above push is received on adding a new post , as you can see the changed_feild is status , but when we post on wall the changed_fields comes as feed. Below link helped me in receiving pushes for the page.

    http://bugs.developers.facebook.net/show_bug.cgi?id=18048

提交回复
热议问题