Git Product home page Git Product logo

facebook_data_extractor's Introduction

Facebook Data Extractor

A Python parser that extracts the info you want from an official downloaded facebook archive

Made by Julián Caro Linares

#How to use Python version and libraries:

  • Python 3
  • BeautifulSoup

First of all, if you don't have Python 3.X on your computer, you'll need to install it.

Official Python 3 page

You'll also need the library BeautifulSoup:

$ apt-get install python-bs4

Or

$ pip install beautifulsoup4

More info

After that, you'll need to download your Facebook data.

Follow the official Facebook guide, section "Download info":

"Download Your Info: This includes a lot of the same information available to you in your account and activity log, including your Timeline info, posts you have shared, messages, photos and more. Additionally, it includes information that is not available simply by logging into your account, like the ads you have clicked on, data like the IP addresses that are logged when you log into or out of Facebook, and more. To download your information, go to your Settings and click Download a copy of your Facebook data."

You'll probably have to wait an email from Faccebook with the data link.

When you had downloaded your facebook data, extract the file in the same folder of this program.

Now executes the python program "facebook_data_extractor.py" using python3:

  • Your facebook name ID is the name that comes in your facebook data folder: In the case "facebook-yournamessurnames" you should write "yournamessurnames"

  • Write the keywords for your search separated with commas, for example, "train,happy,dog"

If the program founds comments that match these keywords it'll show them in the terminal.

You also have a new file called "timeline_results-yourkeywords.txt" where you have all the search results with their date.

=============

Licencia Creative Commons
Facebook data extractor por Julián Caro Linares licensed by Creative Commons Attribution-ShareAlike 4.0 International License.

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.