Visual Studio Mobile Center

Configure Facebook

You will need:

  • A Facebook account with a verified email and a phone number.
  • your Mobile Center app secret, which you can find at by going to Mobile Center > your app > Getting Started > Manage app > App secret.

Register your application with Facebook

  1. Go to the Facebook Developers site and sign-in with your Facebook credentials. If you have not already registered, click Apps > Register as a Developer, then accept the policy and follow the registration steps.

  2. Click My Apps > Add a New App. In Display Name, type a unique name for your app, type your Contact Email, choose a Category for your app, then click Create App ID and complete the security check. This takes you to the developer dashboard for your new Facebook app.

  3. At Facebook Login, click Get Started. On the left navigation, click Settings, and add your application’s Redirect URI, which is https://mobile-{app id} to Valid OAuth redirect URIs, then click Save Changes.

  4. In the left-hand navigation, click Settings. On the App Secret field, click Show, provide your password if requested, then make a note of the values of App ID and App Secret.

Configure Identity for Facebook authentication

  1. In Mobile Center, go to Identity, and click on Facebook.

  2. Enter the App ID and App Secret that you’ve collected, optionally enable any scopes needed by your app, and Save.

Your configuration is now complete. You can check that your app is configured correctly by navigating to https://mobile-{app secret}