HTTP response status: 403 , when i am geeting direct message


#1

hi all ,

i want to get all my direct messages of my twitter account but when i call this service for getting direct message with this :-https://api.twitter.com/1.1/direct_messages.json i am getting this error :-HTTP response status: 403.

please help me how to resolve this issue .

plase provide help as soon as posible


#2

Are you using an application with RW+DM permissions as well as an access token negotiated with those permissions? By default, apps and applications are typically only allowed standard read/write operations, but working with reading direct messages requires that permission type.