The Facebook app has been disabled due to suspected phishing activity. Where am I wrong?

Newer applications should use OAuth 2.0

I used the code from this blog for authentication: http://kartiklad.com/

$redirect_url = 'http://url-of-site-for-canvas-app.com/authorize/'; $oauth_url = 'https://graph.facebook.com/oauth/authorize?client_id=' . $client_id . '&redirect_uri=' . $redirect_url . '&type=user_agent&&display=' . $display . '&scope=' . $scope; 

I created a folder called authorize and redirected the user here to exchange the session token. Then, when the "code" parameter is not empty, the application code starts to run.

The fact is that the above blog code worked like a charm. My application almost got to the point where it could become viral. Almost 100 new users every day, and suddenly I get this notification saying that he is suspected of phishing activity.

This is the official link: http://developers.facebook.com/docs/authentication/

NOTE. My application requests permission from the user at the beginning and after the user logs in as a result, is automatically displayed on his wall, and the photo is uploaded to the photo album. I asked for all the necessary permissions before the user got into my application. Maybe this has something to do with this? I saw another popular application that did this without any problems.

+4
source share
1 answer

Everything looks correct in your setup and, seeing that this follows the same pattern as Facebook, on the developers site, I don’t see where this could go wrong. There must be users reporting the application, or possibly the Facebook system, to verify that the applications have an error causing your application to pause.

If Facebook does not give you a more reasonable reason than indicated above, I would contact them to see the real reason why it was suspended. These may be malicious users reporting your application. If you really have a legal code and you don’t see where you would go wrong, it’s best to ask the source of the problem, Facebook. Hope they can clarify for you.

+1
source

Source: https://habr.com/ru/post/1340809/


All Articles