twitter = twython.Twython(oauth_token = oauth_token,
oauth_token_secret = oauth_secret,
app_key = oauth_consumer_key,
app_secret = oauth_consumer_secret)
twitter.getDirectMessages()
TwythonError: 'Forbidden: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits. -- An error occurred processing your request.'
我正在使用dev.twitter.com上“我的应用程序”页面上“详细信息”选项卡下显示的令牌,机密和密钥。我有点担心twython将其称为app_key,而twitter则将其称为consumer_key。也许我有困惑/倒退。
其他电话,例如twitter.getFriendsIDs()成功。