-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Ibraheem Halloum edited this page Apr 4, 2016
·
1 revision
Welcome to the FacebookScraper wiki!
This script scrapes posts and comments from facebook pages and store its with their details in mysql databases .
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
- 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