Hello,
I am implementing (in Ruby on Rails) new Direct Message API endpoint to delete a message.

I am receiving error message,

Twitter::Error::BadRequest

Please guide about it.

Thanks

Hard to say without understanding what your code is doing to generate that error. Does the same request work if you try it using twurl.

I tried using twurl tool, but its giving error message “Could not authenticate you.” though I was able to run “twurl authorize” command.

I made changes in Twitter gem API code for deletion of message.

What do you get when you run twurl accounts?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.