virtualenv env -ppython3
. env/bin/activate
pip install -r requirements.txt
python main.py
Make sure that FB_TOKEN
env variable is set to the proper access token.
- https://developers.facebook.com/tools/accesstoken/
- https://developers.facebook.com/tools/debug/accesstoken/
- https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived/#long-lived-page-token
For iterating over Instagram feed you need the FB access token with the instagram_basic
right.