How can I log on to my own website with my facebook account?

Source: Internet
Author: User
Tags oauth
In a hurry .... How can I use my facebook account to log on to my own website? now I am working on a foreign website. The customer asked me to use my facebook account to log on and access the API through the wall, but I don't quite understand it, have you ever performed similar functions, espcms? In a hurry .... How can I log on to my own website with my facebook account?
Currently, I am working on a foreign website. The customer requested that I use my facebook account to log on to the website. I got the API interface through the wall, but I don't quite understand. Have you ever done similar functions, espcms? Facebook api? Php
------ Solution --------------------
Facebook's oauth Authentication, api parameter documentation, and demos are all available. this is not difficult. do you have to worry about the key.
------ Solution --------------------
Php, JS, there are many types, you can download the official sdk files, there are ready-made login instances.
------ Solution --------------------

I have done it all ..

Similar to the logon principle of QQ and Baidu oauth, it is necessary to enable VPN in China to access facebook ..
------ Solution --------------------
Just create an application like QQ and Baidu.
Link: https://developers.facebook.com/apps
Obtain appID and secret, and fill in the Site URL (redirect_uri) you want to return ),
After the user authenticates the authorization, he will return the information to the uri.
The user information looks like $ user_profile.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.