关于新浪微博的问题 求大神分析错误原因

=====post data====== string(206)

 "client_id=3216019551&client_secret=aab7a23965a9e4fb958dxxxxxxx

 &grant_type=authorization_code

 &code=a2960248100209b778202fcdc565df1d

 &redirect_uri=http%3A%2F%2Fwww.mayi121.com%2Fmember%2Foauth%2Fsinalogin" 

 =====info===== 

Array (

 [url] => https://api.weibo.com/oauth2/access_token 

 [content_type] => 

[http_code] => 400 

[header_size] => 217 

[request_size] => 442 

[filetime] => -1

 [ssl_verify_result] => 20 

 [redirect_count] => 0 

 [total_time] => 0.016 

 [namelookup_time] => 0 

 [connect_time] => 0 

 [pretransfer_time] => 0.016

 [size_upload] => 206 

 [size_download] => 194 

 [speed_download] => 12125 

 [speed_upload] => 12875 

 [download_content_length] => -1 

 [upload_content_length] => 0 

 [starttransfer_time] => 0.016 

 [redirect_time] => 0 

 [request_header] => POST /oauth2/access_token HTTP/1.0

 User-Agent: Sae T OAuth2 v0.1 Host: api.weibo.com Accept:

 */* Accept-Encoding: deflate, gzip API-RemoteIP: 123.120.177.255 

 Content-Length: 206 Content-Type: application/x-www-form-urlencoded )

 =====$response===== 

 {"error":"invalid_grant",

 "error_code":21325,

 "request":"/oauth2/access_token",

 "error_uri":"/oauth2/access_token",

 "error_description":"invalid authorization code:a2960248100209b778202fcdc565df1d"}



ph2015
浏览 8050回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP