Coder Social home page Coder Social logo

facestats.py's Introduction

facestats

This is a script to calculate some numbers and statistics on your use of Facebook. Currently does some basic analysis on chat history, including length of your messages, and proportion of conversations started by you v.s. your friends.

Installation

This is a lightweight Python script. First, make sure you have Python 2 and pip installed on your system. Then, install the dependencies of this project (currently, the only dependency is beautifulsoup).

pip install beautifulsoup4

If your system complains about lxml missing, some combination of the following packages may work: python-dev libxml2 libxml2-dev libxslt-dev python-lxml

Usage

Download a copy of your Facebook data.. Unzip, then run

python fbstats.py <directory of your fb data>/html/messages.htm

This may take a few minutes -- I personally have 30mb of message history over 4+ years. Currently the script runs locally so you don't have to worry about your private messages going into my inbox.

Facebook's data is very inconsistent, it may be missing user names, etc. If you run into any issues with the script, feel free to create a Github issue.

Ideas

See https://dynalist.io/d/wuhWHlISJ3kV1bEF_YWatgQa

facestats.py's People

Contributors

rudi-c avatar

Watchers

 avatar  avatar

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.