Facebook Login with the Facebook SDK for JavaScript enables people to sign into your web page with their Facebook That function will trigger a call to Facebook to get the login status and call your callback function with the results..