Skip to content
Ibraheem Halloum edited this page Apr 4, 2016 · 1 revision

Welcome to the FacebookScraper wiki!

FacebookScraper

This script scrapes posts and comments from facebook pages and store its with their details in mysql databases .

Requirements

This script test under this Requirements

  • Ubuntu OS.
  • Python [ installed already with ubuntu ] .
  • MySQL Server . install it by this command $ apt-get install mysql-server

Setup Script

  • Download Script . $ git clone https://github.com/atbero/FacebookScraper.git
  • Create Database fb_data $ mysql -u root -p mysql> CREATE DATABASE fb_data;
  • Import Database structure .[ Use /database/fb_dta.sql ]. $mysql -u root -p fb_data < ./database/fb_data.sql
  • Edit Script vars to fit your data.
  • Run Script :) $python -W ignore script.py
Clone this wiki locally