Question

I am new to FB API and also Windows Phone 7.1/8. I am in need of immediate assistance to get a real time update of any pics that are posted on a specific page on a windows phone app. I have to just show the count of new pics posted in that page on the tile. I went through FB's realtime api and wherever I see I notice a callback url but where am I going to get a url in windows app? It should be very easy task for many. So, please point me to right direction.

Was it helpful?

Solution

It is not possible for a WP app to receive such updates from Facebook.
Because you don't have any such API for the purpose.

What about RealTime API ?
Well, it is possible to get Realtime updates from facebook using that API, but it requires you to specify a callback Url. In other words, it require you to have a web server with an web application that can accept GET and POST requests from server. After receiving such updates, your webapp can broadcast updates to device using PUSH Notification Service.

Any Workaround ?
Yes ane workaround can be to use a periodic task that runs and fetch data after regular intervals. But beware of:

  • Amount of Data you send in periodic Task (Battery + Data Consideration).
  • Reliability factor of Periodic Tasks (Thay may not run at all).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top