Sent $ redirectURLapi. weibo. comoauth2authorize? Client_id1_4893821 & amp; redirect_urixxxx.labclosewin % 3 Fsnsapi % 3 Dsina % 26 backUrl % 3D & amp; response_typecode are all local I tested other...
$ Redirect URL sent
Https://api.weibo.com/oauth2/authorize? Client_id = 2644893821 & redirect_uri = http://xxxx.lab/closewin%3Fsnsapi%3Dsina%26backUrl%3D&response_type=code
Both are local
I tested another development environment
Local
Http: // localhost: 1002/sina/callback. php
Authorization successful
Combined with debugging
. '& BackUrl ='. $ _ GET ['backurl']That's why.
This is the reason for local debugging. This problem should not occur during online debugging.
Reply content:
$ Redirect URL sent
Https://api.weibo.com/oauth2/authorize? Client_id = 2644893821 & redirect_uri = http://xxxx.lab/closewin%3Fsnsapi%3Dsina%26backUrl%3D&response_type=code
Both are local
I tested another development environment
Local
Http: // localhost: 1002/sina/callback. php
Authorization successful
Combined with debugging
. '& BackUrl ='. $ _ GET ['backurl']That's why.
This is the reason for local debugging. This problem should not occur during online debugging.
To be in the same domain
If your callback domain name is a.sina.com
Then your url should be xx.sina.com/xxx/aaa? Xxx
Is your callback domain name configured?
The callback address does not seem to contain parameters. There is a solution reference: http://www.xtwind.com/yar-wordpress-twitter-wall-plug-in.html