forked from YAFNET/YAFNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Facebook Integration
w8tcha edited this page Aug 24, 2013
·
5 revisions
To Enable Facebook Single Sign On Integration in YAF.NET (2.00 or higher is required)...
- You need to Enable "Enable Single Sign On" in the Host Settings of your Forum.
- And you need an Facebook Application for your website.
Everything you need to know can be found on the Facebook Developer Portal (Of Course you need an Facebook Account)
- Go to https://developers.facebook.com/apps
- Click on "Create New App"
- Enter the "App Display Name" (For Example: Your Website Name) and Press "Continue"
- After you app is created modify the Basic Settings add the App Domain Your Website URL (for example mydomain.com)
- In the Section "Select how your app integrates with Facebook" select "Log in to my website using Facebook" and enter your Forum URL in the Field "Site URL"
- On that Page you also find the app id and app secret which are needed for YAF.NET.
- The App ID/App Secret needs to be entered in the app.config in your Forum
<add key="YAF.FacebookAPIKey" value="XXXX" />
<add key="YAF.FacebookSecretKey" value="XXXX" />
When Everything is setup correctly a "Login with Facebook" Button should occur on the login page.
- Users are able to Register/Login with Facebook
- Users can connect an existing Forum account with Facebook