guymorita / tinpull

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step 1 - Get Facebook Auth Token

  • Go to this url Auth URL
  • Authenticate with your Facebook credentials.
  • Open up the Chrome debugger - (cmd + opt + j)
  • Click "Ok" on the Facebook modal prompt
  • Find the url like below. "../dialog/oauth/confirm...": OAuth link Confirm Find token
  • Double click on the token itself and save it. Save it. It should be a really long string. Over ~250 characters. Copy token

Step 2 - Get Facebook ID

  • Go this url Graph API Explorer
  • Enter in the auth token you just saved.
  • Click submit ID
  • Save the ID. Ex. "10722692"

Step 3 - Export Chats

Open up your terminal

  • Clone the repo and cd into the folder
git clone https://github.com/guymorita/tinpull.git
cd tinpull
  • Run npm and run the file
npm install
node tinpull.js
  • Follow the prompts by pasting and entering the Facebook Auth Token, Facebook ID, and name
  • The script will output a folder with all your chats in CSV format and also in a zip format (easy to send)
  • Send over the zip.

files

About


Languages

Language:JavaScript 100.0%