- Login in your app: http://dev.twitter.com/apps
- In the
Settingstab, change theApplication typetoRead, Write and Access direct messages - In the
Reset keystab, press theResetbutton, update the consumer key and secret in your application accordingly.
It looks like that resetting the keys force the change to your application type to take effect.