Package tweetoscope.tweetsProducer
Class OnlineTweetsProducer
java.lang.Object
tweetoscope.tweetsProducer.TweetsProducer
tweetoscope.tweetsProducer.OnlineTweetsProducer
- All Implemented Interfaces:
Runnable
,Flow.Publisher<com.twitter.clientlib.model.Tweet>
- Direct Known Subclasses:
TwitterFilteredStreamReaderSingleton
,TwitterSampledStreamReaderSingleton
Deprecated.
Starting April 2023, this class can no longer be used with a "Free" access plan to the Twitter API.
It hasn't be tested with the "new" Basic access plan.
Forwards Tweets retrieved live from the Twitter API.
Important note: Requires the BEARER_TOKEN environment variable to be set to connect to the Twitter API endpoint.
- Author:
- Virginie Galtier
-
Field Summary
Modifier and TypeFieldDescriptionprotected static String
Deprecated.token to access Twitter API endpointFields inherited from class tweetoscope.tweetsProducer.TweetsProducer
subscribers
-
Method Summary
Methods inherited from class tweetoscope.tweetsProducer.TweetsProducer
subscribe
-
Field Details
-
BEARER_TOKEN
Deprecated.token to access Twitter API endpoint
-