Sadly, the Facebook album download feature no longer works since the page structure has changed and so this tool is effectively useless at this time. However, new crawlers will be added for other sites, such as Instagram and Twitter.
- PHP 7.0 or greater
- Composer
- Git
- cURL
- V8
- V8js PHP extension
- At the moment it is only available as a command line utility, but could be available either as a website anyone can use, or an self-hosted installable web application.
- Support Facebook, Twitter and Instagram.
- This project will be split out into different packages.
- The installation process will be simplified by downloading a single packaged executable (PHAR).
$ git clone https://github.com/adamelso/albumgrab
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
Enter the Albumgrab directory
$ cd albumgrab
Then execute the app
$ bin/albumgrab download
You will then be prompted to provide the folder/directory name you want the images to be saved to, followed by the URL/link to first image in the album.
Please enter the name of the directory your images will be saved to:
images/summer-2014
Please enter the URL to the first image of the Facebook Photo Album you would like to download:
https://facebook.com/photo.php?fbid=11111&set=a.222.333.444
The crawler will look for a link labeled Next to find the next image.
If your Facebook is in another language, please run the command using
the -x
or --next
option, with the equivalent word for Next in
your language.
Example for Spanish:
$ bin/albumgrab download --next="Siguiente"
or
$ bin/albumgrab download -x Siguiente
Please use responsibly and at your own risk.