Real time update for fans page

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?

Answers


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.

To create an App: see FB documentation

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

To subscribe to an RTU for a page:

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

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: 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.

See:

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

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

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

Need Your Help

this.own not defined in Dojo

javascript dojo

I'm trying to create a singleton class in Dojo with a method called loadsth. There I want o run this.own from within a foreach loop. However, when I run this code it says

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.