Currently, I am calling the graph api to find out about the "fan page likes". I sleep for 1 second between each call. After around 10,000 calls, I start to experience HTTP 403, which says essentially "Quota Exceeded".
So, because of this, I checking into Real-Time-Updates. Here, I really got into several issues: 1) Cannot subscribe for page/likes For some reason, I am getting this:
{
"error": {
"message": "(#100) \"likes\" is an invalid field name",
"type": "OAuthException",
"code": 100
}
}
I can subscribe, though, to fields: name, feed!
2) The documentation does not reveal how to connect your subscription with the pages you are interested in.
So, I successfully subscribe, but do not know how to add pages to this subscription
Thanks,
The docs don´t mention the page likes in the Realtime API, because it´s just not possible to subscribe. The error message tells you the same: "invalid field name".
Your only option to track page likes is what you do right now, but you need to increase the time between calls. Also, make sure you ALWAYS use an Access Token, at least an App Access Token. Btw, according to my tests, the Realtime API can take more than 10 seconds sometimes to kick in anyway.
About 100000 Pages a day: You should consider using a Page Access Token in that case, for every Page a different one. That should increase the limit a lot. Of course only Page Admins can create a Page Token though.