Created
December 2, 2013 20:13
-
-
Save PintuKumarPal/7757976 to your computer and use it in GitHub Desktop.
where you want to place facebook login button
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
<cfoutput> | |
<!---You can fine app_key and secret_key by creating a account with facebook and make these by creating app for your website---> | |
<cfset api_key = "408300609288755"/> | |
<cfset secret_key = "86f3386be0df8c40dab97c8af3c0d237"/> | |
<cfset appID = "408300609288755"/> | |
<!--- Pass variable form here what you want to access form user account and redirect page for logininformation. | |
for more help visit http://developers.facebook.com/docs/reference/login/ | |
---> | |
<cflocation url="https://graph.facebook.com/oauth/authorize?client_id=#appID#&redirect_uri=http://www.thefutureminders.com/facebooklogin/loginInformation.cfm&scope=email,user_checkins,user_birthday" addtoken="no"> | |
</cfoutput> |
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
<!---Using Javascript ---> | |
<script> | |
function GoAuthancation() | |
{ | |
window.location = | |
"http://thefutureminders.com/facebooklogin/authentication.cfm"; //Url for authencate facebook login(path for authencation file) | |
} | |
</script> | |
<a href="javascript:GoAuthancation();"> | |
FaceBookL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment