Skip to content

ahjabpot/twitter-v2-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

twitter-v2-api

In this repo, I included code that utilises the new twitter API V2 using python and tweepy.

YouTube Tutorial Series

There is a full Video tutorial series on youtube as well

  1. Get your twitter API keys and follow people - Twitter API V2 Tutorial 1
  2. Set up twitter search with specific search queries - Twitter API V2 Tutorial 2
  3. Create Flask app to display tweets, retweet and respond manually - Twitter API V2 Tutorial 2

Using the code

Step 1

Clone the repo

Step 2

add your twitter keys in the config.py file

API_KEY = 'add-your-key'
API_KEY_SECRET = 'add-your-key'
BEARER_TOKEN = 'add-your-key'
ACCESS_TOKEN = 'add-your-key'
ACCESS_TOKEN_SECRET = 'add-your-key'
VPS_DIRECTORY = 'add-your-key'

Step 3

Install the libraries

pip install tweepy
pip install flask

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • HTML 47.6%