Skip to content

Facebook Page Scraper is a tool for collecting data from public facebook pages. This tool uses Facebook's Graph API to collect data. Using this tool, you can collect posts, comments, likes, shares data from public facebook pages. The collected data is written to a MySQL database. Optionally, the tool allows you to download the data in json forma…

Notifications You must be signed in to change notification settings

popstick/fb-page-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Facebook Page Scraper

[![alt text] (https://zenodo.org/badge/19221/yhegde/fb-page-scraper.svg)] (https://zenodo.org/badge/latestdoi/19221/yhegde/fb-page-scraper)

Facebook Page Scraper is a tool for collecting data from public facebook pages. This tool uses Facebook's Graph API to collect data. Using this tool, you can collect posts, comments, likes, shares data from public facebook pages. The collected data is written to a MySQL database. Optionally, the tool allows you to download the data in json format.

This tool is especially built for keeping it running and collecting large amount of historical, current and future data (posts, comments etc.) from multiple public facebook pages. Check config.properties.template file for various configuration options for running the tool.

Quick start guide

DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

  • Create tables in facebook database

    mysql -u root -pRootPwd facebook < db.schema.sql
  • Rename config.properties.template to config.properties, open in a text editor and make relevant changes by following inline instructions

  • Start fetching data

    java -jar fb-scraper.jar >> log.txt 2>&1 &

Note: Your config.properties and fb-scraper.jar should be located in the same directory

License

Copyright [2015] [Yatish Hegde]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Facebook Page Scraper is a tool for collecting data from public facebook pages. This tool uses Facebook's Graph API to collect data. Using this tool, you can collect posts, comments, likes, shares data from public facebook pages. The collected data is written to a MySQL database. Optionally, the tool allows you to download the data in json forma…

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%