Direct messages access not granted


#1

Hi!

my web application has access level to read write and direct messages, however, when I redirect my users to the authentication page the auth page says the application will NOT be able to access the direct messages.

by the way, I’m using twython.get_authentication_tokens()

is there something I’m missing?

thanks


#2

oh, found it.

it comes out that only requests to authorize endpoint are permitted to grant direct messages level and twython’s default endpoint is authenticate.

this could easily be overwritten, one should only add: auth_endpoint=“authorize” to twython’s constructor.

hope this helps ppl facing the same problem


#3

Can you express more. I have a problem like you