-
Notifications
You must be signed in to change notification settings - Fork 0
Facebook Integration
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)
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"
{code:xml} {code:xml}
When Everything is setup correctly a "Login with Facebook" Button should occur on the login page.
!! Login for Existing Users Existing users can use this feature when they add their Facebook User id to to the Forum User Profile Page, and enable the User Setting "Did you want to Use Single Sign On?".
When a User try to log in via Facebook, YAF.NET checks if a user exists with that email address, if the user id matches and if the Setting is enabled.
!!! How To Retrieve the Facebook User ID
- After logged in to your Facebook account, copy and paste the URL below associate with your Facebook user name: {"https://graph.facebook.com/your_user_name"}
- Replace {"your_user_name"} with your current Facebook user name, if you have already customize your Facebook Profile URL.
!! Login for New Users There is also a second Option when a Facebook user is logging in but do not exist in the forum by default the user will be ignored, but there is a new Host Setting "Register New Twitter/Facebook User automatically" which auto register the Facebook user on the forum, the profile settings will be imported. An automatically Generated Password will be emailed to the user. That the user is able to login normally into the Forum without Facebook.