-
Create a Spotify application tied to your spotify account. This is to enable searching the spotify library and adding to your playlist
-
Create a Facebook application tied to your facebook account. This is to enable access to public groups.
-
Install spotipy.
-
Export the following variables to your current bash session (or, alternatively, specify on command line):
export SPOTIPY_CLIENT_ID='<your spotify application client id>'
export SPOTIPY_CLIENT_SECRET='<your spotify application client secret>'
export FB_APP_ID='<your facebook application client id>'
export FB_APP_SECRET='<your facebook application secret>'
To run tests, use python3 -m unittest discover
Max Woolf - Facebook Page Post Scraper
Paul Lamere - Spotipy
MIT