Skip to content

A simple python bot to delete tweets from a specific user and save all tweets to a csv file

Notifications You must be signed in to change notification settings

lewis-munyi/twitter_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter_Bot

A simple python bot to delete unwanted tweets

Requirements:

  • Python 3 and above
  • Pip
  • Tweepy Library

Setup

Install python 3 and pip if you do not already have them installed

Install tweepy by running pip instal tweepy in your terminal

$ pip install tweepy

Running instructions

Head over to https://apps.twitter.com and get your access keys

Create file credentials.py in config folder

consumer_key = 'YOUR_CONSUMER_KEY'
consumer_secret = 'YOUR_CONSUMER_SECRET'
access_key = 'YOUR_ACCESS_KEY'
access_secret = 'YOUR_ACCESS_SECRET'

Run tweet_from_file.py and see the magic

$ python tweet_from_file.py

References

About

A simple python bot to delete tweets from a specific user and save all tweets to a csv file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages