Skip to main content

Posts

Showing posts from August, 2019

How to Make a Simple Reddit to Twitter Bot (Python) Part 1

So why make a Reddit to Twitter bot? I don't know. I made it because it's a fun project that can be made as simple or as complex as you want. I also like to get all my soccer (football) news in one place, and r/soccer is usually the fastest aggregator of breaking news. In this tutorial, we will write a python script that posts the top 10 hourly soccer posts on twitter. I am going to show you how to get your bot up and running quickly, so I will skip a lot of details. Prerequisites: basic python knowledge Getting Reddit API Access 1.  Go to  https://www.reddit.com/prefs/apps/ 2.  Click on create app.                                       3.  Name it whatever you like. Choose scripts as type and set local host ( http://127.0.0.1) as your redirect url.  4. Note down the personal use scripts code, and the secret code. Keep it in a secure place.  ...