Limit number of facebook request allowed? - facebook

My previous facebook developer account was blocked due I guess of making to many requests (No reason given by them and no answer after trying to contact them).
So before fall in the same issue with a new account. I would like to know if some has some relevant info or experience of how much request per second or hour can be made safetly to Facebook's API before been mark as abuse of service and been banned.
Thanks.

There is an article about rate limits in the official docs: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting

Related

Twitter API limitations for applications

I would like to make a content management system that would post tweets on behalf of another user.
As far as I understand the rate limit for the twitter API at the moment is 15 requests per 15 minutes per user/application as described on their website. So in my case posting a tweet on behalf of another user would count as one request.
If this is the situation, creating a content management system would be unrealistic as an increase in the amount of users will cause rate limiting errors.
Is there any way around this or is this the limit of posting to twitter on behalf of another user?
I am new to this situation so I do apologize if I am incorrect. Thanks in advance.

Applying for Facebook audience network is rejected

I apply for Facebook audience network a lots of times but I was rejected every time. Can anybody help me on this developer audience network? What are the requirements. Is there any reason my application got rejected?.
This is a story why I cannot recommend to waste your time with Audience Network.
As an indie developer I've decided to try Facebook Audience Network to show ads in my mobile application. After I spent hours to make all the integration stuff and filled out all required registration info my application was successfully approved to the network.
But it was still blocked from showing ads because of the bug - I was not able to add bank info to the Payouts in Monetization Manager because it is treated my SWIFT number as invalid one. So I've made a support ticket and attached screenshot with error. In response I got following answer:
Thank you for applying for Audience Network. At this time we are
unable to accept your application. We thank you for your patience
while we determine the ideal process for bringing new publishers on to
the network.
I was shocked about such response as my application was still approved, so reply was totally irrelevant to the problem. There was no explanations on the topic and ticket was closed without a chance to appeal. so I created a new ticket where I asked about reasoning for such response. To my surprise I received exactly same answer as previous one.
After sending few additional emails to support I received an update which does not give any additional information and only confirms Facebook ignorance to developers:
Thank you for reaching back to us. We currently do not have any
further information to offer. We seek your kind understanding on this
matter.
I’ve spent more time trying to get an answer and after a week of waiting I've got another useless answer:
I would like to let you know that your case has been reviewed by our
Internal team in detail earlier and under these circumstances, the
team has decided to maintain the original decision. The application
has been disapproved and unfortunately we cannot provide any further
insight on this issue.
I never break any rules and even spent money to promote my app with Facebook ads previously, but Facebook showed that they don’t care about your problems and don’t respect developers or their time.
As a conclusion I suggest for everyone to avoid my mistake and do not spend your time to just get such a crap from Facebook.
UPDATE:
After half a year they did some updates in Audience Network and now it displays a message that they do not work with my country yet (Ukraine). It is still ridicuolus that support was not able to provide this information after numerous requests.

Facebook app blocked for posting too fast. What are the limits?

We (a local hackerspace) have a Tumblr blog and wanted to make ourselves a Facebook page. Before going live we wanted to import all our Tumblr content to Facebook so our fans on Facebook can browse it here as well. For this I have made an app that reads all the posts from our Tumblr blog and publishes them to our new Facebook page (backdating those posts as well). Here's my problem: after the app does about ~130 re-posts (~260 operations: publish + backdate) I start getting an error:
Received Facebook error response of type OAuthException: It looks like you were misusing this feature by going too fast. You’ve been blocked from using it.
Learn more about blocks in the Help Center. (code 368, subcode 1390008)
The block is gone the next day, but after a similar amount of operations it's back. After a couple of hours later, when the block is gone again, I introduced 6 second delays between operations, but that didn't help and after 19 re-posts I'm blocked again. Some facts:
I am publishing posts to a feed of (yet) unpublished page I am the (only) owner of.
The app is a standalone JAVA application and uses restfb to work with Facebook.
The line that is causing the error: facebookClient.publish("me/feed", FacebookType.class, params.toArray(new Parameter[0]));
All publish operations contain a link, mostly to respective posts on out Tumblr. Some contain message, caption or a name (depending on post type).
I need to re-post ~900 posts from Tumblr, I have done ~250 so far. When over, I will likely put in on server, scheduled, to keep syncing single new posts.
This app is not meant to be used publicly, it is rather a personal utility (but the code will be posted to GitHub, should anybody need it).
This is my first experience with Facebook API and I wasn't able to find a place where I could officially address them with this question. I could proceed by doing 100 posts/day, but I'm afraid I will eventually get banned for good, even though I don't feel like doing anything wrong.
I haven't put any more code here, as the code itself does not seem to be a problem, but rather the rate at which it is executed.
So, should I proceed with 100 posts/day and hope I won't be banned, or is there another "correct" way of dealing with this?
Thanks in advance!
I'm answering a bit late but I just had this problem too so I did some research : it seems that besides the rate limits shown in Facebook docs, there's also a much more limited and opaque rate for POST requests to limit spam.
It's not clearly set but it could depend on your relationship to the page you're writing to (admin or not), if you post to multiple pages and finally if you post too quickly.
To answer the question, it seems that it would have been okay if you had done like 1 post per minute or less.
I think you exceed the rate limiting for your user Id.
- Your app can make 200 calls per hour per user in aggregate. As an
example, if your app has 100 users, this means that your app can make
20,000 calls. One user could make 19,000 of those calls and another
could make 1,000, so this isn't a per-user limit. It's a per-app
limit
- That hour is a sliding window, updated every few minutes
- If your app is rate limited, all calls for that app will be limited, not
just for a specific user
- The number of users your app has is the
average daily active users of your app, plus today's new logins
Check this: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting
It looks like you were misusing this feature by going too fast. You’ve been blocked from using it.
Learn more about blocks in the Help Center.
If you think you're seeing this by mistake, please let us know.

Does Facebook have a maximum number of API connections?

If the answer is yes, then what is it?
By maximum number of connectioned allowed per application I mean how many instances of the same api/key can be used to get the friends list at any one time, will Facebook block too many requests?
EDIT I have been looking at http://developers.facebook.com/ but have not been able to find the answer to my question there.
From their Policy
If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day).
The only information I was able to find is something in a forum.
http://www.quora.com/Whats-the-Facebook-Open-Graph-API-rate-limit
After some testing and discussion with the Facebook platform team,
there is no official limit I'm aware of or can find in the
documentation. However, I've found 600 calls per 600 seconds, per
token & per IP to be about where they stop you. I've also seen some
application based rate limiting but don't have any numbers.
As a general rule, one call per second should not get rate limited. On
the surface this seems very restrictive but remember you can batch
certain calls and use the subscription API to get changes.
You can see how many API requests your users can have a day if you go to your Insights page and click on "Diagnostics". You can also see some other request statistics if you click on "Performance".
http://www.facebook.com/insights

Is "credit_balance" whitelisted feature on Facebook?

I've been storming the internet for information on how to obtain "credit_balance" from Facebook user.
To get user credit_balance, I'm using: Facebook Credits - Getting error code 13 when trying to get credit balance
I'm aware of the fact that you have to use "application access_token" instead of user's one (I've been trying both tokens lately just to be sure).
And I'm fully aware of multiple posts which are saying that getting "credit_balance" is whitelisted feature.
So my conclusion is, that our app has not been whitelisted yet, that's why I'm receiving "Exception: 13: The underlying FQL query made by this API call has encountered the following error: credit_balance is not a member of the user table." exceptions ... so it should be end of story ... but, one of the Facebook officials told me, that "credit_balance" IS NOT whitelisted feature. Now I'm confused...
My two questions:
(1)
So where the truth lies? Please, can someone confirm or refute whether "obtaining credit_balance" from Facebook is whitelisted feature and that I have to undergone the whitelisting procedure which begins with filling the form here: https://www.facebook.com/help/contact_us.php?id=157379954315015
And then wait for the eternity to get whitelisted (obviously, we've already asked to get whitelisted...). (I'm also aware of fact that after whitelisting you have to re-authenticate your users, done that as well, still no luck.)
(2)
Also is there any chance how to check whether my application is whitelisted?
Thank you in advance
Jakub
Finally, an official answer. Our application has been whitelisted for: frictionless payments, get_balance (== get_credits == credit_balance), and gamer_status.
So if anybody has problem with "getting number of facebook credits", be sure you are whitelisted first.
Facebook whitelisted us after about 1.5month, so you should apply for "whitelisting" as soon as you start your project + you should be kicking (with all respect) Facebook to reply you as soon as possible.
Jakub
I don't know the specific answer to your question, but I know that the Facebook API keeps changing rapidly, and so many of the posts/guides on the internet are outdated.
Also, a quick look on the official Facebook credit API page yields the following:
This whitelisted feature is an API call that allows an application to
determine a user's balance. It is only available to developers who
have designated Credits as their in-game currency. You can apply here.
Please Note: This feature is currently only available through the old
PHP SDK. You also must re-authenticate the user after whitelisting,
before making the function call.
Perhaps the note is relevant to you?