rtweet icon indicating copy to clipboard operation
rtweet copied to clipboard

Just making sure you saw these API deprecations & removals (apologies if you knew it already)

Open hrbrmstr opened this issue 8 years ago • 4 comments

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_messages
  • GET direct_messages/sent
  • GET direct_messages/show
  • POST direct_messages/new
  • POST direct_messages/destroy

hrbrmstr avatar May 15 '18 11:05 hrbrmstr

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."

nzstefinitely avatar May 16 '18 07:05 nzstefinitely

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).

hrbrmstr avatar May 16 '18 10:05 hrbrmstr

Seems you were very much correct. August 16th is the new date.

nzstefinitely avatar May 17 '18 03:05 nzstefinitely

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().

mkearney avatar May 17 '18 14:05 mkearney