Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexyorke/fb-export-to-slack
- Owner: alexyorke
- License: mit
- Created: 2019-03-17T20:21:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-02T01:31:59.000Z (over 4 years ago)
- Last Synced: 2024-08-08T00:44:07.802Z (4 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - alexyorke/fb-export-to-slack - Export your Facebook Messenger data, and import the messages into Slack (Python)
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