Created
May 20, 2016 03:29
-
-
Save masterkrang/08f8734152aae1c7281c6df1896e48e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Facebook --> | |
<!-- [START facebookconfig] --> | |
<script src="//connect.facebook.net/en_US/sdk.js"></script> | |
<script> | |
FB.init({ | |
/********************************************************************** | |
* TODO(Developer): Change the value below with your Facebook app ID. * | |
**********************************************************************/ | |
appId : '<YOUR_FACEBOOK_APP_ID>', | |
status : true, | |
xfbml : true, | |
version : 'v2.6' | |
}); | |
// [START_EXCLUDE silent] | |
// Observe the change in Facebook login status | |
// [START facebookauthlistener] | |
FB.Event.subscribe('auth.authResponseChange', checkLoginState); | |
// [END facebookauthlistener] | |
// [END_EXCLUDE] | |
</script> | |
<!-- [END facebookconfig] --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment