Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created September 6, 2022 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/efb71522cf341eb8990a7f16b060f6b8 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/efb71522cf341eb8990a7f16b060f6b8 to your computer and use it in GitHub Desktop.
tweet_ids= ['1532694058916753410', '1532693690224758784', '1532694050523860992']
# Get tweet with a given tweet id
tweets = client.get_tweets(ids=tweet_ids)
for tweet in tweets.data:
print(f"The tweet with id {tweet.id} is:\n")
print(tweet.text,"\n",50*"-")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment