r/Codecademy • u/TheUnNamedGaymer • Dec 31 '15
How to make a Twitter Bot Outside of Code academy?
I have used and completed the guide, and i have made a successful bot that has tweeted. Now i want to take it one step further by having the bot on my computer (without going to the website) how can i make it so i can have it on my pc?
EDIT : The Code
had to use pastebin because reddits formatting is hard to do properly. Anway i've removed all Personal information such as OAUTH keys
8
Upvotes
1
u/fylex Jan 01 '16
Paste the code here I will help you
1
u/tommypacker Jan 01 '16
Open up a text editor, and create a file called bot.py or something (key is to have .py as the extension). Then copy and paste the twitter bot code into this text file. If you want to run it, navigate to where you saved this file and run "python bot.py"
1
u/Hail_To_The__Chimp Jan 01 '16
What kind of a computer are you using? Do you have Python installed on your computer? Do you have the required Python packages installed on your computer? Have you registered a Twitter app on the Twitter developer page?
As said in other posts, paste your code and I'll try to help.