Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexyorke/fb-export-to-slack

Export your Facebook Messenger data, and import the messages into Slack
https://github.com/alexyorke/fb-export-to-slack

Last synced: 17 days ago
JSON representation

Export your Facebook Messenger data, and import the messages into Slack

Awesome Lists containing this project

README

        

# fb-export-to-slack
Import Facebook Messenger Group chats or single user chats into Slack. This converts a Facebook Messenger JSON file export to a Slack CSV file, which can then be imported into Slack.

[![Updates](https://pyup.io/repos/github/alexyorke/fb-export-to-slack/shield.svg)](https://pyup.io/repos/github/alexyorke/fb-export-to-slack/) [![Python 3](https://pyup.io/repos/github/alexyorke/fb-export-to-slack/python-3-shield.svg)](https://pyup.io/repos/github/alexyorke/fb-export-to-slack/)

## How to use

### Downloading your Facebook data

- go to https://www.facebook.com/settings?tab=your_facebook_information
- click on "Download my information"
- click "Deselect All"
- click on Messages
- for the data export format, change HTML to JSON
- set the media quality to low (this cannot import images)
- click Create File
- follow the instructions, then download the ZIP file
- there will be a lot of folders. Search for the group or person's name to find the folder that contains the JSON file.
- select the file called `message.json` and open it up to confirm that it has your messages that you'd like to import
- run the following command: `python3 fb_to_slack.py /path/to/message.json /path/to/output.csv`
- the resulting CSV file can be imported into Slack. For the delimiter on Slack's import page, choose `,` (default)
- press import, and within a few minutes, all of your messages from your Facebook group or user will appear in the designated Slack channel

## Bugs

- stickers and images are not imported
- not tested with anything other than English text