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() などの他の呼び出しは成功します。