Tweepy Twitter的OAuth认证不返回oauth_verifier [英] Tweepy twitter oauth authentication not returning oauth_verifier

查看:311
本文介绍了Tweepy Twitter的OAuth认证不返回oauth_verifier的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用所谓的tweepyTwitter的一个Python库。当我尝试对用户进行授权,微博应该重定向到具有的auth_token和oauth_verifier回调URL。我在url中只得到AUTH_TOKEN。任何人都有同样的问题?


解决方案

微博只使用 oauth_verifier (PIN码)为桌面应用程序。对于Web应用程序,微博绕过这一点,不使用它。在 http://dev.twitter.com/apps

I am using a python library called "tweepy" for twitter. When I try to authorize the user, twitter is supposed to redirect to a callback url with auth_token and oauth_verifier. I am getting only auth_token in the url. Anyone else had the same problem?

解决方案

Twitter only uses oauth_verifier (PINs) for desktop applications. For web applications, Twitter bypasses this and does not use it. You can re-check your application settings at http://dev.twitter.com/apps

这篇关于Tweepy Twitter的OAuth认证不返回oauth_verifier的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆