使用C#为Flickr身份验证生成oauth签名

时间:2012-02-16 15:37:33

标签: c# oauth flickr

  

可能重复:
  Invalid signature for signing requests to the Flickr API (simulation in console)

我想今天创建一个小型的Flickr应用程序,但我已经在开始时卡住了。

这是我正在使用的文档: http://www.flickr.com/services/api/auth.oauth.html

我最终得到了这个网址:

http://www.flickr.com/services/oauth/request_token?
oauth_callback=http%3A%2F%2Fwww.example.com
&oauth_consumer_key=000000000000000000000000000000000000000
&oauth_nonce=89601180
&oauth_signature_method=HMAC-SHA1
&oauth_timestamp=1329405824
&oauth_version=1.0

但是当我将其粘贴到浏览器中时,我得到以下回复:

oauth_problem=parameter_absent&oauth_parameters_absent=oauth_signature

似乎我应该提供oauth_signature参数。但这是我想用这些网址生成的参数,所以我可以用它来获取我的request_token。

我确定我在这里做错了但我找不到它是什么。有人知道更多吗?

感谢您的帮助!

0 个答案:

没有答案
相关问题