Python 3 (Tweepy) Tkinter GUI Script to Make a Twitter API Bot Desktop App to Tweet,Follow Users and Retweet Full Project For Beginners

You are currently viewing Python 3 (Tweepy) Tkinter GUI Script to Make a Twitter API Bot Desktop App to Tweet,Follow Users and Retweet Full Project For Beginners

 

Welcome folks today in this blog post we will be making a twitter bot that tweets to timeline and follow other users and also retweets to the timeline using tweepy library. All the full source code of the application is given below.

 

 

 

Get Started

 

 

 

In order to get started we need to install the following libraries inside your python project by using the pip command

 

pip install tweepy

 

pip install tkinter

 

After installing all the libraries just make an app.py file and copy paste the following code

 

app.py

 

 

 

 

Now in this python script you need to replace some parameters a shown below

 

consumer_key : Here you need to replace the consumer_key of your twitter account

 

consumer_secret: Here you need to replace the consumer_secret of your twitter account

 

access_token: Here you need to replace the access_token of your twitter account

 

access_token_secret: Here you need to replace the access_token_secret of your twitter account

 

 

And now if you run this python script app.py by typing the below command

 

python app.py

 

 

 

Leave a Reply