Follow Simple Steps to Integrate "Facebook Login" with JavasScript in your Web Application.
Get the "App Id" and use in Following Example
Facebook Login URL:
appId: Application Id of facebook.com
- Login in https://www.facebook.com/
- "Create a New App" in https://developers.facebook.com/
- Fill all required Information
- Settings => App PlateForm=>Click on "Website" then add detail
- In "Status & Review", Click on "Yes" to activate for public
Get the "App Id" and use in Following Example
Facebook Login Integration with JavaScript
Facebook Login URL:
https://www.facebook.com/dialog/oauth?redirect_uri=websiteLoginURL&display=popup&response_type=code&client_id=appId&ret=loginwebsiteLoginURL: After login which page of your website should redirect.
appId: Application Id of facebook.com