Complete Facebook authentication setup for Osclass, including required app configuration and validation checks.
It's so easy to setup facebook authenitfication on your site, let's start!
1) Create new app for login on your website, choose WEB application and enter required information there:
https://developers.facebook.com/quickstarts/?platform=web
2) Install Facebook Login Plugin, setup all the keys:
https://osclasspoint.com/osclass-plugins/social-and-authentication/facebook-login-free-osclass-plugin_i74
3) In Settings > Basic, fill out all the fields. You can get there your App ID and Secret key for facebook login plugin.
4) In Settings > Advanced, select API version to v2.12, set Native or Desktop app to "No" and in Security box select all to "No"
5) Go to Products > Facebook Login > Settings and set following:
Hope you got it working now.
Note: If you get error message after facebook login: "Incorrect data returned from facebook: {}", it means you have limitations/restrictions in access level for email. Check this facebook docs for more details:
https://developers.facebook.com/docs/graph-api/overview/access-levels/