您一直在使用OAuth验证Flickr时遇到问题,每次我发出请求时都会出现以下错误。
oauth_problem=signature_invalid&debug_sbs=GET&https%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Frequest_token&oauth_callback%3Dhttp%253A%252F%252Facornsnoaks.dev%252Fadmin%252Foath%252Fflickr%26oauth_consumer_key%3D_MY_KEY_%26oauth_nonce%3D143594012893179%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1435940128%26oauth_version%3D1.0
这是我的网址
https://www.flickr.com/services/oauth/request_token?oauth_nonce=143594012893179&oauth_timestamp=1435940128&oauth_consumer_key=_MY_KEY_&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_signature=c3ec087c68536274f49e272179c321b8&oauth_callback=http%3A%2F%2Facornsnoaks.dev%2Fadmin%2Foath%2Fflickr
我可能做错了吗?
答案 0 :(得分:0)
Flickr API声明参数应按字母顺序排序?在为您的通话生成HMAC-SHA1签名之前,您是否这样做了?