This script converts the downloaded photos and JSON data from a Facebook album generated by PhotoGrabber into a PDF. Each image is placed at the start of a page, followed by the photo caption, date, and a link to the original file.
- PhotoGrabber
- Ruby 2.0.0 or higher
- prawn (gem)
- multi_json (gem)
- chronic (gem)
- Use PhotoGrabber to download the Facebook album you would like to convert
- Copy
album_to_pdf.rb
into the same directory as thealbum.json
file created by PhotoGrabber - Run the following in your terminal:
ruby album_to_pdf.rb
- The PDF is saved in the same directory as the script
If you have questions or comments regarding this project, hit me up on here or shoot me an email:
Stephen Torrence [email protected]