How to log in using facebook id

I created a site where the user must log in using the username and password. I saw them on such a large website, we can connect via facebook account. And I want to add the same to my website. How is this possible using php sdk or javascript sdk?

+7
javascript php facebook facebook-php-sdk
source share
3 answers

The Facebook team spent a lot of time on the documentation, I would advise you to start there:

http://developers.facebook.com/docs/guides/web#login
http://developers.facebook.com/docs/authentication/

+2
source share

If possible, I would like to write dracolytch here and create an abstraction layer for both OpenID and Facebook. He is ready to share his code.

+1
source share

These links are what Facebook likes to call "Badges." Go to your profile. Scroll to the end. In the bottom left column you will see the link โ€œCreate a profile iconโ€. Click on it. From there, you can edit the icon to show the information you need. At the end, it will provide you with some HTML code that you can copy and paste into another site or blog. When people click on your icon, they are sent directly to the Facebook information block. Source (s):

http://www.facebook.com/badges.php

-2
source share

All Articles