Tool for analyzing and extracting insights from Facebook Messenger conversations
Project description
socialysis
socialysis is a Python package for analyzing and visualizing Facebook Messenger data. It provides tools for creating and customizing various types of charts and graphs from your Messenger data, such as bar charts, line charts, pie charts, sunburst charts, dot charts, and gantt charts. With socialysis, you can easily gain insights from your Messenger data, including messages, media, links, reacts, photos, audio records, videos, emoji, words and more.
Installation
pip install socialysis
Getting Started
To use socialysis, you first need to download your Facebook Messenger data from Facebook.
To download your Facebook Messenger data, follow these steps:
-
Go to your Facebook settings by clicking the dropdown arrow in the top right corner of the page, and selecting "Settings" from the dropdown menu.
-
In the left-hand menu, click on the "Your Facebook Information" option.
-
In the "Your Facebook Information" section, click on the "Download Your Information" option.
-
In the "Download Your Information" window, select the "Deselect All" button to deselect all data categories.
-
Scroll down to the "Messages" category and click on the "Messages" checkbox to select it.
-
In the "Format" dropdown menu, select the "JSON" option.
-
In the "Media Quality" dropdown menu, select the "Low" option.
-
Click on the "Create File" button to start the download process.
-
Once the download is complete, you will receive a notification and an email with a link to download the file. Click on the download link to download the file to your computer.
-
Extract the downloaded file to obtain the JSON files containing your Messenger data.
Sample Data
Socialysis includes a sample data set that you can use to get started without needing to download your own Facebook data. To access the sample data, you can use the restore parameter when initializing the Stats class and set it to 'sample'. For example:
from socialysis import Stats
stats = Stats(restore='sample')
You can then use the Stats class and its attributes and modules to analyze the sample data.
Usage
See Demos for detailed examples with explanations.
Gallery
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file
socialysis-0.1.0.tar.gz.File metadata
File hashes
7aeba7660248b7af87b92638a9ee52047e1df0a8fc99d2d0298a6c2a581eb644755a50437ceec642d6a007a7195aedc4ede1fa53bf4bae63716df36bfc8d5a08d2da3ce6a826d548cdc7a56ddb0e706eSee more details on using hashes here.