Just making sure you saw these API deprecations & removals (apologies if you knew it already)
https://blog.twitter.com/developer/en_us/topics/tools/2017/announcing-more-functionality-to-improve-customer-engagements-on-twitter.html
As we outlined in April, User Streams and Site Streams, along with the legacy Direct Message endpoints, will be replaced by improved products such as Account Activity API. We are providing notice to all Twitter developers that on Tuesday June 19, 2018 we are retiring the following services and endpoints:
- User Streams
- Site Streams
GET direct_messagesGET direct_messages/sentGET direct_messages/showPOST direct_messages/newPOST direct_messages/destroy
Was this not indefinitely delayed?
Twitter Dev: "Last year we announced our plan to retire Site Streams & User Streams, and replace them with the Account Activity API (currently in beta). We are delaying the scheduled June 19th deprecation date."
I saw some chatter yesterday that has suggested this the indefinite part is no longer indefinite (I cannot post the link as it's not to a public resource nor can I disclose the resource).
Seems you were very much correct. August 16th is the new date.
I didn't know about this, so thanks @hrbrmstr! I've updated direct_messages() for the new API (this includes both sent and received messages from last 30 days–in batches up to 50). The deprecated APIs can be accessed [for the time being] with direct_messages_received() (previous this was just direct_messages()) and direct_messages_sent().