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.
pip install pyquery
pip install requests
cd ~/
git clone https://github.com/UndergroundLabs/Imgur2FB
cd Imgur2FB
./imgur2fb.py username password pageURL imgurURL
Example:
./imgur2fb.py [email protected] secretpassword https://facebook.com/joebloggspage http://imgur.com/search?q=funny
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