腾讯微博调用statuses/home_timeline API的时候报错 来看下
我的URL:
http://open.t.qq.com/api/statuses/home_timeline?clientip=127.0.0.1&format=json&oauth_consumer_key=ddf235c8912b4cbd9d0a5c38b99a1888&oauth_nonce=0rspRP2bRYwL5mFB7vp5ZwKjsqtfeJ2x&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1312518058&oauth_token=c18e0115559846ae88f9f18a204580fa&oauth_version=1.0&pageTime=0&pageflag=0&reqnum=3&type=0&oauth_signature=fjd8j5WV%2F3R7gUqzEsidhx29%2BTI%3D
腾讯测试工具的URL:
http://open.t.qq.com/api/statuses/home_timeline?format=json&oauth_consumer_key=ddf235c8912b4cbd9d0a5c38b99a1888&oauth_nonce=sMBvoHWucBWPJq2ConwfoyqnIvIbcipX&oauth_signature=iq7GBqLGTxGWRpDehHf5N3xdgzE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1312518394&oauth_token=c18e0115559846ae88f9f18a204580fa&oauth_version=1.0&pageflag=0&pagetime=0&reqnum=1
他的测试工具测试的时候可以获取到数据 , 当我把URL复制在IE中粘贴的时候报如下错误:
返回结果:{"data":null,"errcode":-103,"msg":"check sign error","ret":3}
跟我的URL访问的错误相同 他妈的给个-103 劳资头发都白了
我怀疑他是不是在head中加入了什么东西 坑爹的API一句没提