TwitterTweetLoader(
self,
auth_handler: Union[OAuthHandler, OAuth2BearerHandler],
twitter_users: Sequence[strLoad Twitter tweets.
Read tweets of the user's Twitter handle.
First you need to go to
https://developer.twitter.com/en/docs/twitter-api /getting-started/getting-access-to-the-twitter-api
to get your token. And create a v2 version of the app.
Load tweets.
Create a TwitterTweetLoader from OAuth2 bearer token.
Create a TwitterTweetLoader from access tokens and secrets.