The mobile QQ logs in to sdk to obtain the user's information and data to be submitted to the backend.

Mobile QQ logs in to sdk to obtain user information and data is submitted to the background
now our company has applied for the QQ application on the mobile side
now the test has been successful. The user information of QQ can be obtained
the data obtained are as follows:

{
"ret":0,
"pay_token":"xxxxxxxxxxxxxxxx",
"pf":"openmobile_android",
"expires_in":"7776000",
"openid":"xxxxxxxxxxxxxxxxxxx",
"pfkey":"xxxxxxxxxxxxxxxxxxx",
"msg":"sucess",
"access_token":"xxxxxxxxxxxxxxxxxxxxx"
}

is such data submitted directly to the backend and then stored in the library?
still needs to judge the validity of openid. After all, this data can be forged
so does QQ have an interface to get basic user information of QQ based on openid
Note:
* * is not a web app
is not a webapp
is not a webapp * *

besides, I found an Auth2

clipboard.png

http://wiki.open.qq.com/wiki/.

http://wiki.open.qq.com/wiki/.
but this life or death is unsuccessful
examples are as follows:

  1. take the get_user_info interface as an example:

(please replace access_token,appid and other parameter values with your own)

https://graph.qq.com/user/get_user_info?access_token=YOUR_ACCESS_TOKEN&oauth_consumer_key=YOUR_APP_ID&openid=YOUR_OPENID

when you use this kind of third-party login, you always call the enterprise interface
Wechat's or QQ's
. You also mentioned that Oauth2.0 's
is very difficult to forge, and it is also https's
to post a machine drawing of Oauth2.0 Wechat's login:

.

918715088.jpg

if you want to get the information of QQ users, there is no problem to store the information of third-party users directly in the database.

it is superfluous to query whether the openid is correct, because if you want to query (not to mention how to query), you must match and verify with the third-party information currently obtained, which is too much business logic and time-consuming. It's just a simple third-party login, so it doesn't have to be so complicated.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eace1f-47ed1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eace1f-47ed1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?