/reddit-reposter

Free Reddit karma from reposting old links

Primary LanguagePython

Just how easy is it to get karma on Reddit?

This morning, I opened up a terminal, typed in python repost.py AdviceAnimals and went to school. Three hours later, I was #1 on the front page or /r/all.

This is happening more the older I get

My post was an exact repost of this post, created by /u/xsited1, one year ago.

Eventually, my repost surpassed the original post in number of upvotes, ending up around 50k.

I posted on /r/programming, expecting at least a mildly positive response, and was belittled.

Then, I was banned from /r/AdviceAnimals. I suppose it was just a matter of time.


The premise is simple. repost.py dredges up an old repost from a subreddit of your choosing, makes sure it's at least 200 days old, and reposts it on your account.

Note that this will not work on new accounts -- Reddit's spam filter will automatically block the posts. However, it should work on any account older than a few weeks, with at least a few comments and/or posts.


Contact: I am /u/chalcidfly, and my sub is https://www.reddit.com/r/redditscripting/


Would you like some free and easy karma?

  1. Log in to your account at reddit.com
  2. Go to your app preferences
  3. Click the "Create a new app" button at the bottom of the page.
  4. Choose the script option as the app type.
  5. Set the redirect uri option as http://www.example.com/unused/redirect/uri
  6. Set the other options to whatever you want.
  7. Download repost.py
  8. Open repost.py in a text editor, and fill in your new app's information into the global variables client_id and client_secret
  9. Write your username and password into the global variables username and password
  10. Run the script with the first CLI arg as the subreddit you want to post to. Ex: python repost.py funny
  11. Profit.

I built this after reading through OAuth Quick Start and the Official Reddit API docs -- and, of course, a lot of googling and Stack Overflow. I also used Dirty Markup extensively for prettifying returned JSON data.