Skip to main content

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format)

Project description

Facextractor

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format).

Instalation

PyPI

pip install Facextractor

or from source:

git clone https://github.com/geekmoss/facextractor.git
cd facextractor
pip install .

and for bash complete:

bash bash-complete.sh

Using

CLI

# Friends:
facextractor friends ./facebook-dump

# Chats:
# For summary of all chats
facextractor threads ./facebook-dump
# For summary of chat with John Doe
facextractor friends ./facebook-dump -f "John Doe"
# For summary of all chats where is John Doe is participant
facextractor friends ./facebook-dump -p -f "John Doe" 

Python Modules

from Facextractor import Friends, Threads

t = Threads("./facebook-dump")
t.describe()  # str: summary of all chats
t.analysis.photos  # int: count photos of all chats

t.threads[0].describe()  # str: summary of first thread in list

t.find_thread_by_name("John Doe")  # Thread: return thread for exact match
t.find_threads_by_participant("John Doe")  # List[Thread]: returns list of threads where is participant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Facextractor-1.0.2-py3-none-any.whl (7.6 kB) Copy SHA256 hash SHA256 Wheel py3
Facextractor-1.0.2.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page