问题描述
我想从Android访问Flickr的服务,
I am trying to access flickr services from android ,
得到充分的权限,
首先我拿来使用flickr.auth.getFrob方法杂类草通过整合和放大器;在转换MD5
first of all i fetched forbs using flickr.auth.getFrob method by integrating & converting in MD5
秘密+'API_KEY'+ [API_KEY] +
'方法'+'flickr.auth.getFrob
我顺利拿到了FROB,但是当我通过整合和放大器请求授权令牌的问题就来了;在转换MD5
i successfully got the frob , but the problem came when i request a authorized token by integrating & converting in MD5
秘密+'API_KEY'+ [API_KEY] +
FROB+ [FROB] +'方法'+
flickr.auth.getToken
但不幸的是我得到无效FROB,我不为什么什么问题。
but unfortunately i am getting invalid frob , i don't why whats the problem.
推荐答案
这权威性的东西是Flickr的真正棘手。在我的code,我得到了认证的用户后回调,并给予不同的FROB比响应getFrob(类似pnbhd://权威性FROB = XXXXX)。然后,当我用这个FROB,它的工作。我想这就是问题所在,因为你要具有api_sig做无效FROB,而不是一个错误。
This auth stuff is really tricky for Flickr. In my code, I got a callback after the user authenticated, and was given a different frob than the response to getFrob (something like pnbhd://auth?frob=XXXXX). Then when I used this frob, it worked. I imagine this is the problem, since you're getting "invalid frob" and not an error having to do with api_sig.
这篇关于无法获得在Flickr的身份验证令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!