Skip to content

Latest commit

 

History

History
 
 

README.md

Facebook login

This sample shows how one can login to Facebook using JavaScript and a WebView.

Setup app

Before this sample will work, you need to setup an app in the Facebook Developer Portal. You can follow these instructions.

  1. Go to developer.facebook.com/apps/ and click the "Create a New App" button.

Create an app

  1. Choose a display name and click "Create App ID"

Create id

  1. Copy the App ID to the Auth.js file

Copy APP ID

  1. Go to the advanced settings menu

Advanced settings

  1. Make sure you enable "Client OAuth Login" and "Embedded Browser OAuth Login"

Enable settings