I have an app which manages hundreds of Facebook pages. Now I need to make a dashboard which will show reports based on Facebook insights for every page but when I try to get the data from Facebook I am getting a message saying that I am reaching the requests limit and I am not able to make requests to Facebook Insights any more.
For every page I get 10-15 metrics in a single request, but I have hundreds of pages.
I found that the limit is 200 App request per hour, but for insights there are different rules.
How I can make my dashboard works because even batch requests did not help?
Request that your app be upgraded to Standard Access. An overview of the access tiers and instructions for requesting an upgrade are here: https://developers.facebook.com/docs/marketing-api/access
Related
We are developing a project where we need to send probably hundreds of requests to Facebook's graph API per minute. Our main requirement is to continuously monitor hundreds of comments (and possibly posts) of our own page, and respond back where required. Though we haven't tested our complete project on live system yet. But we are sure that it is going to exceed the API's rate limit. We were wondering whether facebook provide some premium access to API where this limit can be bypassed? We have looked into their documentation but are unable to find anything. Or is there any way where we can monitor our page continuously without worrying about this rate limit.
Thank you
I am building an application for clients to be able to create Facebook Page in their account using my own Admin Access Token.
I have Standard Access approved for my Facebook application already.
I tried to create a few test pages using FB Graph Explorer and I succeeded.
I ran into a problem when I tried to create a page using Code in Classic ASP, it says Have reached page creation api throttle limit
FR- https://www.screencast.com/t/hTd4RDozov
I tried to search into the Facebook documentation to find out that when I can get out of this error, but couldn't find any response.
Are there anyone person who has got this error before? Or can someone tell when I can get rid out of this error?
Many thanks
Currently experiencing the same behavior. Talking to Facebook support they say the default limit for page creation is 2 pages per month. This number might be negotiable depending on your usecase.
I am developing an application which will need to access multiple page insight metrics for a Facebook page. However, rather than running multiple queries for the metrics that I would like, I was wondering if I could just request all of a page's insights. I thought that to get that, I could just use:
{page-id}/insights
However this query returns a "FacebookAuthenticationException." When I run this query on the Graph API Explorer, I get the user message "No metric specified."
So is there anyway to retrieve all of a page's insights?
I thought that to get that, I could just use: {page-id}/insights
No, that is not possible any more.
https://developers.facebook.com/docs/apps/changelog#v2_7_changes:
Page Insights Change Page metrics insights must now be explicitly specified when making Page Insights related requests. The default behavior of returning all metrics when none are specified is no longer supported.
So you will have to pick the metrics you are interested in, and request those specifically:
{page-id}/insights/metric_name1,metric_name2,...
I am trying to develop a software with my friend that can scrape Facebook IDs from certain profiles and then check them using the Facebook graph to classify them according to gender. I would like to know what is the limit for checking because I am getting a message that I have reached the limit. Would it be helpful to use proxies that can rotate and move to another when they reach the limit? Also what do you reckon the proxy timeout should be for good and fast results?
Facebook indeed has a rate limiting on the Graph API. In general, it comes does to about 600 calls per 600 seconds, per Access Token. You should try to make as many calls as possible with User Access tokens, and others with your App Access token.
Is there an official limit (or at least a guaranteed rate) for Graph API calls?
I am getting valid access_tokens for users and use them both on web server and client side scripts. Both calls use FQL queries, which are like below:
SELECT+page_id+FROM+page_fan+WHERE+uid=me()+and+page_id=...&access_token=...
SELECT+post_id+FROM+stream+WHERE+(privacy.value='EVERYONE'+OR+privacy.value='ALL_FRIENDS')+AND+attachment.description='...'+AND+attachment.name='...'+AND+actor_id=me()+AND+source_id=me()+AND+is_hidden=0&access_token=...
I plan to query once every minute for each access_token and some will be made from client IPs, some from web server IP. So what exactly must I care?
And one additional question :) about the "me()" in those queries, if I make the calls from client or server does it differ? e.g. if the client user changes his/her FB login out of my web page, does it refer to new login or the login that the access_token had been generated?
When Facebook had app boxes and profile pages, My Countdown app updated the profile once per hour. At one point it had 400K users, thus was making 9.6 million (400K x 24) calls to Facebook per day.
I'm not sure if there is a limit, but the subscribe feature is suppose eliminate the need to hit their API so often. It sounds like you are trying to check if anything changed. The subscribe API call essentially tells Facebook to let YOU know when something changes.
Really, your issue is going to be network bandwidth and CPU, not Facebook limits.
The me() refers to the user/page ID encoded in the access token. Lint the token at https://developers.facebook.com/tools/debug and see what id it is for.