This script downloads all photos from given Facebook album to the specified folder on local file system.
This script was tested on MAC OS El Capitan, but should be working on any Linux distribution.
- jq - command-line JSON processor: https://stedolan.github.io/jq/download/
- Download the
fb.sh
script and make it executable:
chmod +x fb.sh
- Go to Facebook to generate the Access Token (TODO: more details should be added here)
- Write the Access Token to the
.fb_access_token
:
echo $accessToken > .fb_access_token
fb.sh $album_id ~/path/to/my/photos
- Get Facebook Access Token
- Better error handling
- Better CLI interface/arguments handling