himura / twitter-conduit

Twitter API package for Haskell, including enumerator interfaces and Streaming API supports.
BSD 2-Clause "Simplified" License
158 stars 48 forks source link

Direct messages not working - deprecated API #61

Closed cdupont closed 4 years ago

cdupont commented 5 years ago

Hi, when trying to send a direct message I get this error:

TwitterErrorMessage {twitterErrorCode = 34, twitterErrorMessage = "Sorry, that page does not exist."}

It seems that the Twitter API changed for direct messages: https://twittercommunity.com/t/details-and-what-to-expect-from-the-api-deprecations-this-week-on-august-16-2018/110746

New API uses events: https://developer.twitter.com/en/docs/direct-messages/sending-and-receiving/api-reference/new-event

cdupont commented 5 years ago

I created a quick pull request: https://github.com/himura/twitter-conduit/pull/62

cdupont commented 5 years ago

Hello, any response on that? thanks

cdupont commented 4 years ago

Thanks Himura for the new version!