Giter Club home page Giter Club logo

messengeranalyzer's Introduction


Logo

Messenger Analyzer

An analyzer of messages
Report Bug · Request Feature

Table of Contents

About The Project

An analysis & plotting tool
This software does NOT use networking of any kind
example.gif

Built With

  • Python 3
  • matplotlib
  • NumPy

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

List:

  • Python 3
  • matplotlib
python -m pip install -U matplotlib
  • NumPy
python -m pip install -U numpy
  • Your FB data
see instructions below

Installation

  1. Clone the repo
git clone https://github.com/ShadehaterCS/MessengerAnalyzer.git
  1. Install pip packages
pip install -r requirements.txt

Usage

You can use these scripts for structuring, extracting and visualizing your data taken from Facebook's Messenger.

It is indifferent as to how many people there are in a conversation, the plots and DS will work regardless.

The main use of this tool is to plot your data.

To do that, all you need to do is run main.py, input the folder's name where the JSON files are and you'll be presented with the oh so faithful press 1-5 menu.

Guide

First of all you'll need to download your data through Facebook. Now, Facebook does allow you to only download your messages but it's a process. For more info on how to do that visit the link below

Congratulations, you now have your data

  • Inside your downloaded .zip you'll see the folders you selected. We're interested in the messages one. Apparently the folders are named with fb username + a random uid.
  • Inside every folder you'll see one or more JSON files. Copy that folder and be ready to rename it because you can't be typing that whole thing.

Now go into the repo's folder

  • You'll see that there is a folder named MessagesSources.
    That's the folder the script is going to look into to find the folders containing your JSON files for every specific conversation.
    Move your extracted folders inside that one and name it appropriately so there's no confusion for you.

Now you can start Open the folder in your preferred editor and run it through that or simply open terminal / cmd in the repo's folder

  • Run python main.py
  • Input your folder's name
  • The menu will pop up, you can use the available options through your keyboard 1-5 keys
  • Success

Roadmap

As per v1 this codebase only supports Facebook's Messenger files and structure.
Some functionality for instagram's messaging will be added.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Example Visualization

visualization.jpg

messengeranalyzer's People

Contributors

kordoulakis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

al3xfreeman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.