Facebook Social Graph API: "Annoying or Offensive" error message

I got the following exception from the Social Graph API:

(OAuthException) Block! You engage in behavior that may be considered annoying or offensive to other users. You have been blocked from the body of the error / warning message. Title: Block! You are behavior that may be considered annoying or offensive to other users. because you have repeatedly abused this feature. This block will last from several hours to several days. When you are allowed to reuse this feature, please proceed with caution. In the future, misuse may result in your account being permanently disabled. For more information, please visit our {= FAQ page}.

My program makes thousands of calls, but the call that caused the exception was as follows:

graph.facebook.com/search?q=6511+club&access_token = ...

I don’t write anything in the API, so I don’t see how I can violate the rules of abuse / annoyance. At first I thought that I might have crossed the speed limit, but this thread says that the exception message for this will look like this:

Facebook.GraphAPIError: (# 613) Calls to the stream exceeded 600 calls in 600 seconds.

My program calls the above event search endpoint with a new q parameter value repeatedly. For each returned event, my program:

  • (calls / eventId) Gets event information
  • (calls / pageId) Get the location of the event location page if the event location links to a Facebook page.
  • (calls / eventId / attending) Get the identifiers of the profiles of users who visit or can visit
  • (calls /? ids = ...) Get user profiles of users who visit or can visit.

I am using Facebook C # SDK . All my calls include an access token (from my personal user profile).

+4
source share
1 answer

This is not your application that is blocked, this is your user who is blocked. Your user has been identified by the automated Facebook system as a bot (in fact, it really is). The next step - your user will be blocked by Facebook. You make too many calls to collect data from Facebook as a single user. You need to rethink the purpose of your application, and you need to call this data for storage, or your users can get it on demand from the API. Most abusive calls here / eventId / attendance and identifiers for each event. Call it a thousand times for thousands of events, and the user will be blocked.

+2
source

All Articles