TwitterStreamListener

Use the TwitterStreamListener activity to listen to published tweets by using Twitter Streaming API 1.0.

Twitter streaming API provides two endpoints: public streams and user streams. When the configured streaming event is triggered, the messages are streamed as a message Pojo.

Streaming data has overhead in system resources, because connecting to the streaming API requires keeping a persistent HTTP connection. To avoid this situation, take note of the guidelines described in TwitterStreamListener Best Practice when configuring the TwitterStreamListener activity.