All Projects → davidkrantz → FacebookChatStatistics

davidkrantz / FacebookChatStatistics

Licence: MIT license
Statistics of any Facebook Messenger conversation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to FacebookChatStatistics

netbout
Private talks made easy
Stars: ✭ 40 (-18.37%)
Mutual labels:  messenger, conversation
Chat Ui Kit React
Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Stars: ✭ 131 (+167.35%)
Mutual labels:  messenger, conversation
Wdt Emoji Bundle
Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
Stars: ✭ 411 (+738.78%)
Mutual labels:  emoji, messenger
EOmaps
A library to create interactive maps of geographical datasets
Stars: ✭ 193 (+293.88%)
Mutual labels:  matplotlib
vemdezapbe.be
Vem de zap bb 😏😊😂
Stars: ✭ 33 (-32.65%)
Mutual labels:  emoji
emojifont
🍭Emoji and fontawesom in both base and ggplot2 graphics
Stars: ✭ 61 (+24.49%)
Mutual labels:  emoji
ranka
Facebook Messaging bot with greater expressivity
Stars: ✭ 23 (-53.06%)
Mutual labels:  messenger
plot-likert
Python library to visualize results from Likert scale survey questions
Stars: ✭ 54 (+10.2%)
Mutual labels:  matplotlib
tf-matplotlib
Seamlessly integrate matplotlib figures as tensorflow summaries.
Stars: ✭ 119 (+142.86%)
Mutual labels:  matplotlib
emoji-to-scale
Your favorite emojis. To scale.
Stars: ✭ 334 (+581.63%)
Mutual labels:  emoji
QM-Simulator-1D
Interactive simulation of a quantum particle in 1D.
Stars: ✭ 69 (+40.82%)
Mutual labels:  matplotlib
topic modelling financial news
Topic modelling on financial news with Natural Language Processing
Stars: ✭ 51 (+4.08%)
Mutual labels:  matplotlib
hashflags-function
⚡ A collection of Azure functions related to Twitter hashflags
Stars: ✭ 15 (-69.39%)
Mutual labels:  emoji
messenger
Chat/Message system for Laravel.
Stars: ✭ 69 (+40.82%)
Mutual labels:  messenger
quakestats
Quake 3 Arena / Quake Live match processing app
Stars: ✭ 18 (-63.27%)
Mutual labels:  stats
emojix
Simple emoji library for Elixir 💩
Stars: ✭ 21 (-57.14%)
Mutual labels:  emoji
emot
Open source Emoticons and Emoji detection library: emot
Stars: ✭ 178 (+263.27%)
Mutual labels:  emoji
DirectLineAndroidSample
Android Sample for Direct Line API - Microsoft Bot Framework
Stars: ✭ 21 (-57.14%)
Mutual labels:  conversation
data-viz-utils
Functions for easily making publication-quality figures with matplotlib.
Stars: ✭ 16 (-67.35%)
Mutual labels:  matplotlib
mplcairo
A (new) cairo backend for Matplotlib.
Stars: ✭ 87 (+77.55%)
Mutual labels:  matplotlib

Facebook Chat Statistics

A small program written in Python 3 that lets you see statistics of any Facebook Messenger conversation. This project started of as a Valentines day surprise for my girlfriend inspired by this Reddit post.

Features

The program fetches data such as:

  • Start time
  • End time
  • Number of days
  • Number of messages
  • Number of words
  • Average length of messages
  • Average messages per day
  • Most used emojis

It also generates a PDF containing the following plots (see pictures below)

  • Who texts the most
  • Timeline
  • Activity by day
  • Activity by weekday
  • Most used emojis and who sent them

Images

Running locally

Firstly you will need to download or clone the repository, the latter can be done by typing

git clone https://github.com/davidkrantz/FacebookChatStatistics.git

in your terminal.

Download your Facebook conversations to a .json file

Download your Facebook data by following these instructions and chosing the format to be JSON. Note that you only have to download your messages in order for this program to work.

Run it

  1. First you will have to install the needed packages. These are listed in the requirements.txt file and should be easily installed using pip with
pip3 install -r /path/to/requirements.txt
  1. Run the script as below with the path to your JSON conversation as an argument, for example
python3 facebook_chat_statistics.py /Path/To/Conversation.json

NOTE: The number of top emojis is default set to 10, but can easily be changed to some other integer by changing the line nbr_of_top_emojis = 10 in facebook_chat_statistics.py.

Enjoy!

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].