All Projects → danburzo → fb-export

danburzo / fb-export

Licence: MIT license
Export (most) of your Facebook data using Node.js and the Graph API.

Programming Languages

HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to fb-export

Rexport
Reddit takeout: export your account data as JSON: comments, submissions, upvotes etc. 🦖
Stars: ✭ 87 (+314.29%)
Mutual labels:  export, backup
open2fa
Two-factor authentication app with import/export for iOS and macOS. All codes encrypted with AES 256. FaceID & TouchID support included. Written with love in SwiftUI ❤️
Stars: ✭ 24 (+14.29%)
Mutual labels:  export, backup
Github records archiver
Backs up a GitHub organization's repositories and all their associated information for archival purposes.
Stars: ✭ 100 (+376.19%)
Mutual labels:  export, backup
Roam To Git
Automatic RoamResearch backup to Git
Stars: ✭ 489 (+2228.57%)
Mutual labels:  export, backup
pockexport
Export/access your Pocket data, including highlights!
Stars: ✭ 124 (+490.48%)
Mutual labels:  export, backup
Elasticsearch Dump
Import and export tools for elasticsearch
Stars: ✭ 5,977 (+28361.9%)
Mutual labels:  export, backup
Flares
Flares 🔥 is a CloudFlare DNS backup tool
Stars: ✭ 156 (+642.86%)
Mutual labels:  export, backup
Node Firestore Import Export
Firestore data import and export
Stars: ✭ 271 (+1190.48%)
Mutual labels:  export, backup
calcardbackup
calcardbackup: moved to https://codeberg.org/BernieO/calcardbackup
Stars: ✭ 67 (+219.05%)
Mutual labels:  export, backup
connect-backup
A tool to backup and restore AWS Connect, with some useful other utilities too
Stars: ✭ 19 (-9.52%)
Mutual labels:  export, backup
Qzoneexport
QQ空间导出助手,用于备份QQ空间的说说、日志、私密日记、相册、视频、留言板、QQ好友、收藏夹、分享、最近访客为文件,便于迁移与保存
Stars: ✭ 456 (+2071.43%)
Mutual labels:  export, backup
browserexport
backup and parse browser history databases (chrome, firefox, safari, and other chrome/firefox derivatives)
Stars: ✭ 54 (+157.14%)
Mutual labels:  export, backup
Wikiteam
Tools for downloading and preserving wikis. We archive wikis, from Wikipedia to tiniest wikis. As of 2020, WikiTeam has preserved more than 250,000 wikis.
Stars: ✭ 404 (+1823.81%)
Mutual labels:  export, backup
Quip Export
Export all folders and documents from Quip
Stars: ✭ 28 (+33.33%)
Mutual labels:  export, backup
Fb2cal
Fetch Facebook Birthdays events and create an ICS file for use with calendar apps
Stars: ✭ 335 (+1495.24%)
Mutual labels:  export, facebook
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (+500%)
Mutual labels:  export, backup
Timeliner
In general, Timeliner obtains items from data sources and stores them in a timeline.
Stars: ✭ 2,911 (+13761.9%)
Mutual labels:  facebook, backup
ghexport
Export your Github activity: events, repositories, stars, etc.
Stars: ✭ 18 (-14.29%)
Mutual labels:  export, backup
goodrexport
Goodreads data export
Stars: ✭ 16 (-23.81%)
Mutual labels:  export, backup
evernote-backup
Backup & export all Evernote notes and notebooks
Stars: ✭ 104 (+395.24%)
Mutual labels:  export, backup

fb-export

Export (most) of your Facebook data using Node.js and the Graph API.

Introduction

Crowbarring your data out of Facebook is no easy feat — to get everything out you'll need a combination of Graph API wrangling and old-fashioned manual labor — but it's not impossible.

The purpose of this repository is to give you some tools to make the whole process a bit smoother.

Why not use Facebook's own "Download your data"

Facebook offers a way to download your data that sounds comprehensive enough, and I encourage you to first download that data and see if the amount of information and its quality are sufficient for your purposes — if so, you're in luck.

If, however, you'd like a more structured dataset and images in a better resolution, the tools below can help you. Here's what's included so far:

Data Notes
Posts Things you posted on your timeline.
Timeline photos Photos attached to timeline posts 1
Albums Your photo albums. 1
Photos you're tagged in A subset of "Pictures of you", i.e. photos in which other people / Pages have tagged you 2

Notes

  • 1 Videos are not fetched at the moment!
  • 2 Not all "Pictures of you" are accessible through the Graph API, you'll need to manually download the other photos.

A word of caution

Although I've checked against my own account for a modicum of accuracy in the exported data, these scripts are no guarantee that your content is comprehensively and accurately exported, so exercise caution if you plan to delete the content afterwards.

Installation

Prerequisites

You'll need Node.js, NPM (it comes with Node) and, optionally, Yarn (which these instructions use throughout).

Since I wrote the scripts with ES6 syntax for its brevity, this only probably works with more recent versions of Node. (I'm currently using v8.9.0).

Setting things up

  1. Clone this repository to your computer
  2. Run yarn (or npm install) in your project's folder to install all the necessary dependencies
  3. Rename the sample.config.json file to config.json (you can do that in the terminal with mv sample.config.json config.json) and put in the access token you get from the Facebook Graph API Explorer.

(Since the token allows anyone to access your data through the API, we're not putting the actual config.json on GitHub.)

Getting an access token

  1. Go to the Facebook Graph API Explorer page.
  2. Click on Get access token and choose Get User Access token.
  3. Check all the permissions in the first set ("User Access Permissions"), and follow the approval screens to generate the token.
  4. Put the access token in your config.json.

Tools

Tool Command Notes
Export your Facebook posts node tools/posts.js This exports your Facebook posts to JSON in export/json/posts.json. You can look in the source code to see which fields are currently fetched, and add your own to suit your needs. See this page for available fields.
Export timeline photos node tools/photos.js The photos are downloaded in the export/photos folder. Note that you'll need to have run the post exporter beforehand, because the script uses the posts.json as a basis.
Generate a HTML timeline node tools/timeline.js This generates a HTML timeline based on posts.json and the downloaded photos, so you'll need to have run the two tools above for it to work.
Export your albums node tools/albums.js Fetches the images from your Facebook albums into the export/albums folder, and stores the album info in the export/json/albums.json file.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].