Coder Social home page Coder Social logo

reddit-reposter's Introduction

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.

reddit-reposter's People

Contributors

lincolnbergeson avatar lwb4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

juanpnvd

reddit-reposter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.