How to use the Twitter API v2 in Python using Tweepy

Published: 16 December 2021
on channel: Suhem Parack
78,873
1k

Tweepy is a package in Python that lets you connect to the Twitter API to search for Tweets, create, like, retweet and reply to a Tweet programmatically in Python. In this video, I walk through the different functionality in the Twitter API v2 and how you can use it in Python using Tweepy.

For more info on Tweepy: Check out the documentation here: https://docs.tweepy.org/

If you have questions or feedback, please feel free to reach out to me on Twitter:   / suhemparack  

0:00 Introduction
0:38 Tweepy Documentation
1:25 Understanding Twitter API access levels
3:49 Creating your app and getting keys and tokens
7:35 Installing Tweepy
8:06 Searching for Tweets from last 7 days
18:16 Searching for Geo-tagged Tweets from full-archive search
23:32 Getting more than 100 Tweets
25:50 Writing Tweets to a text file
27:17 Searching for Tweets using the full-archive search
29:26 Getting Tweet counts
31:37 Getting a user's timeline and mentions
34:35 Getting a user's followers and following
36:30 Get users that like a Tweet
37:42 Get retweeters of a Tweet
38:21 Looking up a Tweet using Tweet ID
39:41 Creating a Tweet with text
41:28 Creating a poll
42:10 Retweeting a Tweet
42:33 Reply to a Tweet
43:00 Conclusion


Watch video How to use the Twitter API v2 in Python using Tweepy online without registration, duration hours minute second in high quality. This video was added by user Suhem Parack 16 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 78,873 once and liked it 1 thousand people.