Skip to content

Instantly share code, notes, and snippets.

@henrytriplette
Last active February 8, 2021 00:21
Show Gist options
  • Save henrytriplette/f43b03684ae4bd57cfc76eba7c1fd7be to your computer and use it in GitHub Desktop.
Save henrytriplette/f43b03684ae4bd57cfc76eba7c1fd7be to your computer and use it in GitHub Desktop.
InstaPy on Raspberry Pi 3

Install InstaPy on Rpi 3

  1. Install Raspbian (use NOOBs)

  2. sudo apt-get update && sudo apt-get upgrade

  3. mkdir Instagram

  4. cd Instagram

  5. git clone https://github.com/timgrossmann/InstaPy.git

  6. cd InstaPy

  7. sudo pip install .

  8. sudo apt-get install firefox-esr

  9. open Firefox and skip "import Data from Chromium", close Firefox

  10. copy /examples/firefoxExample.py to /Projects/InstaPy and edit file to your liking

  11. python firefoxExample.py to run

Instagram Python Api:

  1. cd ../

  2. git clone https://github.com/LevPasha/Instagram-API-python.git

  3. sudo apt-get install libjpeg-dev

  4. cd Instagram-API-python

  5. pip install -r requirements.txt

Disable screensaver

xset s off         # don't activate screensaver
xset s noblank     # don't blank the video device

Scheduler

Next: https://schedule.readthedocs.io/en/stable/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment