Facebook app login / authorization entirely client-side


/ Published in: JavaScript
Save to your folder(s)

A complete HTML page for a Facebook "app" that does login entirely on the client.
1 - Create a Facebook application (see Facebook developer docs.).
2 - Because of a Facebook "bug" the app should have Sandbox Mode disabled (App Settings - Advanced - Authentication).
3 - Uncomment the appropriate redirectUrl var.
4 - Update the appId and redirectUrl vars with your Facebook app values.
5 - Make the page available from a server.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.