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

后端 未结 6 1939
遇见更好的自我
遇见更好的自我 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-12-01 00:07

    I first started reading the docs about real-time updates thinking that it could delivery the actual data. But, as I realized, that's not the purpose.

    Real-time updates are just to tell you that something has changed, and once it happens, you can call the api with the conventional method.

    Also, seems like there's an error on this part the subscription topic should be 'user' and the subscription field should be 'feed'. The subscription topic, actually, should be 'page'. (Have you thought the same?)

    And by subscribe on page feed as the same as user feed, means that you can get update notifications, not the data itself.

    Not sure if this is a common mistake, but I'm posting it just in case.

    --

    Currently I'm working on a data mining tool that will need real-time updates. But first, I'm focused on the data itself, so I can't post any examples yet. (I'll edit this answer when implementing this part)

    What I can say about your issue is:

    1) Look that your $PAGEID isn't correct. Actually it's your APPID instead.

    2) After subscribing, have your subscription appeared on the list when calling https://graph.facebook.com//subscriptions?access_token=... ?

    3) With user subscription, does it work? Or is it just with pages?

提交回复
热议问题