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 [email protected]:euclid1990/fbdownloader.git
$ cd fbdownloader
$ npm install
Run program
$ node app
- Choose
❯ Initialize
to config.env
file.
Please enter information of Facebook app (App ID, App Secret
)
- Choose
❯ Authenticate
to 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 Post
to save all posts text to folder 'downloads/posts' on disk.
- Choose
❯ Download Photo
to save all photos to folder 'downloads/photos' on disk.
- Choose
❯ Download Video
to save all videos to folder 'downloads/videos' on disk.
- Choose
❯ Quit
to quit program. If it doesn't terminate, hitCTRL + C
to kill.