Subscribe to account activity
Migration introduction
Starting August 16th, 2018, we will be flickering Site Streams, User Streams, and legacy Direct Message endpoints on and off in anticipation of their retirement to alert those developers who might not have seen our announcements. Site Streams and User Streams will be fully retired on August 23rd, and the legacy Direct Messages endpoints will be fully retired on September 17th. We also fully retired the standard beta Account Activity API - DM only product on August 16th.
Please review this announcment to learn more.
Last April we announced many changes coming to our platform including replacing existing endpoints with improved versions. We’ve been steadily launching new APIs and on December 19th we announced that we would be deprecating a few services after six months. Developers using Site Streams, User Streams and legacy Direct Message endpoints have three additional months for migration, beyond the original retirement date of June 19th, 2018.
Here are the endpoints that will be affected by these changes:
- User Streams
- Site Streams
- GET direct_messages
- GET direct_messages/sent
- GET direct_messages/show
- POST direct_messages/new
- POST direct_messages/destroy
We have new endpoints and services available that provide similar access and, for Direct Messages, some additional functionality:
- Account Activity API enterprise and premium
- GET direct_messages/events/list
- GET direct_messages/events/show
- POST direct_messages/events/new
- POST direct_messages/events/destroy
To help you make a smooth migration to these new endpoints and services we have two migration guides:
- Account Activity API migration guide for those going from User Streams and Site Streams to our new webhooks based service
- Direct Message migration guide for those migrating between Direct Message REST endpoints
Additionally, we have a series of videos about the Account Activity API and how to get started.
And, finally, we have code samples to further your understanding and help you get started quickly:
- The Account Activity Dashboard is a sample Node.js web app with helper scripts to get started with the Account Activity API.
- SnowBot is a sample chatbot using the Account Activity API and REST Direct Message endpoints. It’s written in Ruby, uses the Sinatra web app framework, and is deployed on Heroku.
If you are building solutions that ingest data and respond in Direct Messages we also have a Building a Customer Engagement Application on Twitter playbook.
Next steps
Review our User Streams and Site Streams migration guide
Review our Direct Message API migration guide
Learn more about the Account Activity API