DEV Community

Cover image for Twitter automatic name changer based on your followers!
Raghav Khanna
Raghav Khanna

Posted on

Twitter automatic name changer based on your followers!

Twitter automatic name changer based on your followers
Example-

my twitter handle @erraghavkhanna

Alt Text

Usage

Github link - https://github.com/raghavkhanna30/twitter-auto-name-changer

Step 1 - Getting twitter API keys

go to the twitter developers page. In the Create an app enter the informations like app name, app description and so on. it asked me to clearly explain the reason of how I'm going to use the app After reviewing the terms,] app will be created. Note down the Consumer API key, Consumer API Secret key and Access token & access token secret keys!

Step 2 - updating config.py

in config.py enter your Consumer API key, Consumer API Secret key and Access token & access token secret keys. after that save it.

In mainbot.py Edit your username and you are all done !

Heroku deployment

for this you need to create a procfile with worker as mainbot.py and that's it !

Top comments (4)

Collapse
 
scrabill profile image
Shannon Crabill

I wasn't sure what you were changing at first until I peaked at your config files.

Maybe you can clarify that it changes your display name and not Twitter handle.

Overall, I wonder what else you can do with this set up.

Collapse
 
erraghavkhanna profile image
Raghav Khanna

Okay i mentioned "Name Changer" Not "Handle changer".
Thinking about it what else can be done!

Collapse
 
alex_62 profile image
ALEX

Hello, I would like to benefit from your services, so I would be delighted to have an answer.

If you have telegram or whatsapp or an application on which I can reach you, please send me

Collapse
 
alex_62 profile image
ALEX

Hi sir, have you telegram ?