粉丝页面实时更新 [英] Real time update for fans page

查看:77
本文介绍了粉丝页面实时更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以获取特定粉丝页面的实时更新?

Is that possible to get realtime update for specific fan page?

只要允许我的应用程序,我就可以从用户那里获得信息.但是粉丝呢?

I can get from user as long as it is allowed my apps. But how about fans?

可以给我发送一些相关文档.如果不能,我可以使用任何可选选项吗?

Can send me some related documentation. If cannot, any optional I can use?

推荐答案

您需要创建一个Page和一个App. 然后页面将那个应用程序添加为选项卡. 然后,您为页面(而不是用户)订阅实时更新以获取页面.

You need to create a Page and an App. Then the Page adds that App as a tab. Then you subscribe to Realtime-Updates for pages (instead of user) to get them.

要创建应用,请执行以下操作:see FB documentation

To create an App: see FB documentation

要创建页面: www.facebook.com/pages/create.php

To create a page: www.facebook.com/pages/create.php

要将应用程序作为标签添加到页面:

To add an App as a tab to a Page:

www.facebook.com/add.php?api_key=YOUR_APP_ID&pages=1&page=YOUR_PAGE_ID

要为页面订阅RTU:

`https://graph.facebook.com/APP_ID/subscriptions?access_token=APP_ACC_TOKEN&object=page&fields=picture......`

然后,只要某个页面(将您添加为标签页)对其中一个请求字段进行了更改,FB就会随时调用您的URL_CALLBACK.

Then FB will call your URL_CALLBACK anytime some page (that added you as a tab) has a change on one of the requested fields.

PS:我正在尝试订阅RTU来更改页面中的提要,但是根据文档,只能订阅picture :(如果有人找到了解决方法,请告诉我.

PS: I'm trying to subscribe to RTU for feed changes in the page, however according to the documentation is only possible to subscribe to picture :( If someone founds how to solve that, please let me know.

请参阅:

developers.facebook.com/docs/reference/api/page/

developers.facebook.comdocs/reference/api/realtime/

developers.facebook.com/docs/reference/dialogs/add_to_page/

这篇关于粉丝页面实时更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆