Download all your facebook posts/photos/videos and save it into local disk
You have to create new Facebook app. Guideline · Registering an application with Facebook
-
You need Node.js v6 or higher to run this program. See Installing Node.js via package manager.
-
Clone project and install dependencies
$ git clone git@github.com:euclid1990/fbdownloader.git
$ cd fbdownloader
$ npm install
Run program
$ node app
- Choose
❯ Initializeto config.envfile.
Please enter information of Facebook app (App ID, App Secret)
- Choose
❯ Authenticateto exchange new facebook access token.
If you get an error when trying download data from Facebook such as Error validating access token: Session has expired on .... This functions can help you avoid those kinds of bugs.
- Choose
❯ Download Postto save all posts text to folder 'downloads/posts' on disk.
- Choose
❯ Download Phototo save all photos to folder 'downloads/photos' on disk.
- Choose
❯ Download Videoto save all videos to folder 'downloads/videos' on disk.
- Choose
❯ Quitto quit program. If it doesn't terminate, hitCTRL + Cto kill.
