mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 02:43:46 +08:00
updated Fb dev steps
This commit is contained in:
@@ -11,7 +11,7 @@ plugin:
|
||||
- Client
|
||||
---
|
||||
|
||||
Enables sign-in via Facebook via the server side passport middleware. Requires creating and registering a login app with FaceBook.
|
||||
Enables sign-in via Facebook via the server side passport middleware. Requires creating and registering a login app with Facebook.
|
||||
|
||||
**Configuration:**
|
||||
|
||||
@@ -27,24 +27,23 @@ You can learn more about getting a Facebook App ID at the
|
||||
their [Creating an App ID](https://developers.facebook.com/docs/apps/register)
|
||||
guide.
|
||||
|
||||
**Setting up your FaceBook app:**
|
||||
* Go to My Apps > Create A New App
|
||||
* Add an App Name and Email to create an app id
|
||||
* Confirm that you are not a robot
|
||||
* Go to Settings > Basic:
|
||||
**Setting up your Facebook app:**
|
||||
* Go to [Facebook Developers Portal](https://developers.facebook.com) and click on Getting Started or My Apps
|
||||
* Create a new app > set the App Name and Email to create an app id
|
||||
* Confirm that you are not a robot, then configure the app as follows:
|
||||
* In Settings > Basic:
|
||||
* add app domains (your Talk domain)
|
||||
* add a link to your privacy policy
|
||||
* add a link to your terms of service
|
||||
* save changes
|
||||
* Go to Settings > Advanced:
|
||||
* In Settings > Advanced:
|
||||
* turn on "Require App Secret"
|
||||
* Under "Products" click + to add a Product:
|
||||
* Select "Let people log in with FaceBook"
|
||||
* Add a "Product" (Under "Products" click + to add a Product):
|
||||
* Setup "Facebook Login"
|
||||
* choose `www`
|
||||
* enter your Talk domain url
|
||||
* click _Next_ several times to get through the add code steps (You do not need to modify any code, the plugin takes care of this part for you.)
|
||||
* Go back to Settings > Basic:
|
||||
* enter the callback url (Use your Talk domain with this endpoint: `/api/v1/auth/facebook/callback`)
|
||||
* Under Product Settings:
|
||||
* set Valid OAuth Redirect URIs to your callback url (Use your Talk domain with this endpoint: `/api/v1/auth/facebook/callback`)
|
||||
* Locate your App Id and App Secret, set these as config vars on your instance of Talk
|
||||
* Toggle the "Live" button to make app live
|
||||
|
||||
|
||||
Reference in New Issue
Block a user