Hello guys,
I am trying to post something on Twitter using API. When I make a POST request it says

image

and my app on developer account already has read and write permissions

image

What’s the issue here?
can somebody please help me resolve this?

After switching your app to “read, write and direct messages”, you need to regenerate your consumer key and secret, and your access token and secret.

Then replace the old keys with the new ones you generated and it should work!

2 Likes

Thanks, It worked