kenzibit
New member
- Jan 10, 2012
- 575
- 0
- 0
Facebook on Android and iOS is not using the facebook public APIs. They are using the private API because they are the company that design the system. Typically, a public API requires that you register a key and use that key to make requests to the server. The requests contain posted information, typically SOAP xml bodies, and that information is used by the server to process your request. Public APIs limit the amount of requests you can make in a certain time period (hence the reason why your phone doesn't automatically request an update every 60 seconds). The APIs also limit what types of requests are available to the public key.
So, take Twitter for example and that app on Windows 8 that ran into the 200k limit. The public API for Twitter required that company (Liquid Daffodil I think it was) to register with them, Twitter supplied them with an API key. Typically, some sort of GUID. When their Twitter app makes a request it posts a block of data (usually SOAP xml like I said before, but it can be in any format the developer's want it to be in) and that posted data contains their public API key. What happened was that over 200k unique users have used their API key. This means they have hit the limit Twitter is imposing. Then the public API key gets locked out. Game over for the app.
We would all love push notifications for facebook, but the public API would never do such a thing. Likely, Microsoft has set up their own servers to facilitate a compromise. What they would have done is written a service that is run on a scheduled task, say every 60 seconds per user. This service runs on their account servers (or wherever the **** they want to put it, it could be anywhere) and when it detects an update it pushes an alert to their own code on your device. The problem with this is that Microsoft has millions of users and the service making these queries is still limited by the public API provided by facebook.
The facebook on iOS and Android on the other hand, is writted by the people at Facebook. So, unlike the public API, they will have access to their own servers for pushing data updates. They can detect a database update at the source and immediately push an alert to their own apps. It is something that is unrestricted for them because they not only own the front end application, but the back end servers that manage and serve up the data. There is a massive difference here. If you all want a better facebook app for WP, let the facebook dev team know. When 20 thousand people ask them directly for it, they might listen![]()
Thanks for this info and I think we should just do that (ask facebook team to give us an app) if Microsoft is unwilling to bring facebook dev team on board. What do you guys think? We can create a post or poll.
UPDATE: Come to think of it, the Twitter app on the other hand is made by Twitter dev team and not Microsoft....so why is it bad?
Last edited: