0.1.0 • Published 6 years ago
fbpaldl-cli v0.1.0
Facebook Page Album Downloader cli (fbpaldl-cli)
cli application that allows you to download entire photo albums from a facebook page.
Tech stack
System requirements
- NodeJS (> 8)
- NPM
Install
npm install -g fbpaldl-cli
Usage
- First you need to create a Facebook Developer account. You can register with your regular facebook account in this page.
- Create a new Facebook app (https://developers.facebook.com/apps/)
- Go to this page and scroll down until you find your newly created app. Copy the "User Token" or "App Token" values to the clipboard.
- Use the copied value as the "--acess-token" option in the tool.
Example:
fbpaldl -p "<pageid>" --access-token="<your-app-access-token"> --output="<where-to-save-your-photos>"
You can get the pageid, from the page "url"- "https://www.facebook.com/[pageid]"
You can also specify, the "--album" flag with an album id to download a specific album. If the album option is specified, all the photos will be downloaded to the specified "output dir". Otherwise, when downloading multiple albums, a folder with the "Album name" will be created inside your output dir.
For a list of supported arguments and usage instructions, run: fbpaldl -h
Contributing
Please read contributing.md for instructions, how to contribute to this repo.
License
MIT
0.1.0
6 years ago