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.
user244333
source share