Build your Facebook pages ... on autopilot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
README.md
imgur2fb.log
imgur2fb.py

README.md

Imgur2FB

Build your Facebook pages ... on autopilot

Imgur2FB downloads a random image from imgur.com and uploads the image to your Facebook page. The script will also pick a top comment from the Imgur image page, and post the comment as the status message for the image when uploading to Facebook.

Install

Required packages:

pip install pyquery
pip install requests

Install

cd ~/
git clone https://github.com/UndergroundLabs/Imgur2FB
cd Imgur2FB

Usage

./imgur2fb.py username password pageURL imgurURL

Example:

./imgur2fb.py joe@bloggs.com secretpassword https://facebook.com/joebloggspage http://imgur.com/search?q=funny

Help

imgur2fb.py -h

Help output:

usage: imgur2fb.py [-h] username password pageURL imgurURL

Imgur2FB

positional arguments:
  username    Facebook username
  password    Facebook password
  pageURL     Facebook page URL. Format: https://www.facebook.com/weedhumor
  imgurURL    Imgur URL. Format: http://imgur.com/search?q=funny

optional arguments:
  -h, --help  show this help message and exit