python-twitter-tools / twitter

Python Twitter API
http://mike.verdone.ca/twitter/
MIT License
3.19k stars 713 forks source link

Issues with PUT api requests #414

Closed snail-coupe closed 3 years ago

snail-coupe commented 4 years ago

I'm trying to use the twitter.direct_messages.welcome_messages.update end point, however this uses the PUT method (https://developer.twitter.com/en/docs/direct-messages/welcome-messages/api-reference/update-welcome-message) and there appeared to be various issues with both the signature and the request because:

In diagnosing this I have a fix which I resolved this for my limited use case. I've forked the project and can submit a pull request, although appreciate I've not looked at any coding standards or similar so it may need additional work.