facebook basic version login page

 facebook basic version login page
Getting Started with Facebook & HTML5
 facebook basic version login page


Getting Started with Facebook & HTML5

This guide shows example of PlayFab authentication using Facebook and HTML5/JavaScript.

Requirements:
Facebook account for testing
Registered PlayFab Title
Familiarity with Login Basics & Best Practices guide
Minimal server with a valid domain name to serve static HTML file. Consult with Running Test HTTP Server guide to set up one.
Server and Domain

This guide requires a server with valid domain to follow. If you do not have a registered domain and remote web server yet, please follow our Running Test HTTP Server guide to run a local web server with a valid domain name. Throughout this guide, we will assume your domain is 'http://playfab.example'
Registering Facebook Application

Start by navigating to Facebook Developer Portal. Move your mouse over "My Apps" button (1, top right corner) and select "Add a New App" (2), as shown on the picture below:

A new application pop up will open. Enter a name for your application (1) and contact email (2). Make sure to come up with your own unique application name and email, as shown on the picture below:

Navigate to "Settings" tab (1), then to "Basic" sub-tab (2). Locate your Application ID. Copy it somewhere, we will use it later to set up the Facebook SDK:

On you application manager page, navigate to products (1) and locate "Facebook Login" entry and click "Get Started" (2):

A page with Login product settings should open. Make sure that you have Login product settings page is opened (1) and ensure Client and Web OAuth is on (2):
facebook basic version login page  facebook basic version login page Reviewed by Efukikata Efet on 19:09 Rating: 5

No comments