I want to close my FB account and save all the photos I'm tagged. Not only mines
FB, in export data, don't save these images. Only the one that you own.
Download photos and videos you're tagged in on Facebook Code developed starting from this thread
This requires Python 3.
- Make sure you have
curl
(Linux and Mac likely already have it) mkdir photos videos
in the same directory as the scriptpip3 install selenium
- Download the ChromeDriver executable and put it somewhere in your PATH
- Set
FB_USER_ID
andCHROME_PROFILE_PATH
inhelpers.py
- Set
CONTAINER_SELECTOR
(see below)
The photo downloader relies on a particular class that is likely to change over time because it's auto-generated by FB's frontend build process. It was .atb
when I wrote this but it'll probably change all the time. You'll have to dig into the source of the photo page to figure out what the right class is.
python3 tagged_photos.py
or python3 tagged_videos.py
Parallelize download. Not know maybe using Celery+Radis.