问题
I have set my application permissions as "read, Write, Direct Messages" as shown in the figure

I have saved these settings.
But when i authenticate my app. it shows that my application will not be able to access direct messages.As shown in the figure

Please help me, i am stuck with this problem from many days. I am using abraham oauthtwitter api from here https://github.com/abraham/twitteroauth
回答1:
You need to call Authorize Url. This issue can apear if you call "Authenticate Url".
回答2:
if you have changed your settings you'll need to regenerate the keys
来源:https://stackoverflow.com/questions/8725974/twiiter-php-api-application-access-direct-messages-permission