Rt
Similar to the use of QQ or micro-blog account Login
What are the front and back end knowledge to implement such a function
Reply content:
Rt
Similar to the use of QQ or micro-blog account Login
What are the front and back end knowledge to implement such a function
I do not know whether it is my ability to understand the problem, or other, can not understand your problem.
Do you want to ask how to use a third-party account to log in as you know it?
Third-party logins generally rely on OAuth2 this protocol. Then understanding the agreement itself is the most important thing.
There is almost nothing but OAuth2 itself ... The front end requires little or no special knowledge, and the backend can communicate with other servers using curl and so on.
Just use the words, do not need other knowledge, look at the API and demo, you can heap a.
General use of third-party landing, are required service-side control, the basic use of OAUTH2 protocol.
is to submit the specified data to the specified authorized address via the server,
There are usually get and post two kinds:
Get, directly can be accessed through a URL, a tag can be resolved
But more is through the Post method to the designated authorized address to submit data, PHP use curl, and others can self-examination.
By submitting data to a given authorized address, a token value is obtained so that the personal information of the authorized user can be accessed and the user's personal information is stored in the user database.