Install Facebook Login Button
In this post, Ill try to talk about how to Install Facebook Login Button in your website. Facebook Login Button is one of many Facebook Social Plugins that make the user to connect to your application.
In order to Install Facebook Login Button, you have to do several steps:
First, Login to your Facebook acount then visit http://www.facebook.com/developers/. Then click Set Up New App to make your own application. Then try to make one.
Second, go to your website and add this to our website.
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=[YourAppID]6&xfbml=1"></script><fb:login-button show-faces="true" width="200" max-rows="1"></fb:login-button>
and change [YourAppId] with your App Id from your Application that you have made in step First.
Third, done with step Second, your application already can be used. However, the above code only request the user to give bassic information. To access other informations such as email you can add this perms=”email” into fb:login-button tag. So it will be like: <fb:login-button perms=”email” show-faces=”true” width=”200″ max-rows=”1″></fb:login-button>. To complete reference you can visit http://developers.facebook.com/docs/authentication/permissions/.
Fourth, until the third steps, facebook login is ready to be used. However, what is the use of facebook login if you cant access the user information. Therefore you have to use FQL that Ill explain in next post.
Hope this Install Facebook Login Button post could be useful for you.
http://septiadi.com/2011/05/09/install-facebook-login-button/
May 12th, 2011 at 8:22 am
[...] You can once use this FQL after the user agree to connect to your application using facebook login(see my previous post). It is also depend on the permission you had to access the user [...]
May 12th, 2011 at 9:15 am
[...] Logout is a function used to make the uer logout after login into your application using facebook login. In this case, what you need is quite simple. What you need just make a button that will trigger a [...]
August 8th, 2011 at 10:53 am
[...] I was searching for how to change the Facebook Login Button with an image. Surfing the internet didn’t gimme answer. I also posting in some coding forum, [...]
August 25th, 2011 at 6:32 am
[...] You can once use this FQL after the user agree to connect to your application using facebook login(see my previous post). It is also depend on the permission you had to access the user [...]