Skip to content

posaninagendra/twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple twitter bot

This bot helps you to reply with custom messages to particular topic by searching its tweets in twitter.

How it works?:

  1. Access Twitter APIs
  2. Search for tweets with a query
  3. Reply to the tweets of the query with a custom message.

Dependency

  1. tweepy python library
  2. Create a twitter app and generate access keys to the app

How to use it?

  1. Create a twitter account if doesn't exit
  2. Create a twitter app at apps@twitter
  3. Generate access tokens for the app and use these tokens with customer tokens to fill the keys dictionary in keys.py
  4. Modify bot.py by changing the query stirng to search for a particular topic
  5. Modify the custome message to write your message
  6. Run: $python bot.py
  7. Open your twitter account, enjoy the fun!

About

A simple twitter bot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages