GithubHelp home page GithubHelp logo

trevorbot's Introduction

Info

  • Trevorbot uploads images liked by an instagram account on reddit/instagram and uploads them to that account
  • See @trevorbot420 as an example of usage
  • Please credit @trevorbot420 in your bio if you use this bot

Installation

Setup

  • Change the 'username', 'password' and 'folderPath' variables near the top of 'upload.php', 'getPicsInstagram.php', and 'getPicsReddit.py'
  • The 'folderPath' variable should be the full path to the project's directory

Extra Setup

  • "usr/bin/php full/path/to/upload.php" is the only command which needs to be run. This can be automated using a cronjob or launchd - https://superuser.com/questions/1144910/how-do-i-setup-a-cron-job-on-os-x-to-run-a-curl-command-at-a-specific-time-every
  • When using cron (or launchd), the output of the scripts will be put in .txt files in a debug folder
  • Change the '$debug' variables at the top of 'getPicsInstagram.php' and 'upload.php' to 'true' for a more in depth debug output
  • Media queued for upload will be put in a 'media' folder
  • Note that automatic captions are created crediting the source of the media uploaded

Creds

  • PRAW - python wrapper for the reddit API
  • mgp25/Instagram-API - unofficial API

Legal

  • This bot uses an unofficial API not explicitly approved, endorsed, or affiliated by or to Instagram
  • You must not use this bot for spam, advertising or marketing

trevorbot's People

Contributors

lsk-01 avatar

Watchers

 avatar

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.