unable to get auth token in flickr

╄→尐↘猪︶ㄣ 提交于 2019-12-11 16:54:42

问题


I am trying to access flickr services from android ,

to get the full permissions ,

first of all i fetched forbs using flickr.auth.getFrob method by integrating & converting in MD5

secret + 'api_key' + [api_key] + 'method' + 'flickr.auth.getFrob'

i successfully got the frob , but the problem came when i request a authorized token by integrating & converting in MD5

secret + 'api_key' + [api_key] + 'frob' + [frob] + 'method' + 'flickr.auth.getToken'

but unfortunately i am getting invalid frob , i don't why whats the problem.


回答1:


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.



来源:https://stackoverflow.com/questions/3889160/unable-to-get-auth-token-in-flickr

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!