falsch/facebook_page_analyzer

This package is abandoned and no longer maintained. No replacement package was suggested.

v1.1.0 2015-12-05 22:32 UTC

This package is auto-updated.

Last update: 2020-09-06 00:08:23 UTC


README

License Latest Stable Version Latest Unstable Version Gitter chat

![Logo](http://i.imgur.com/I5mjWip.png =250px)

The Facebook Page Analyzer edits the public data of any facebook page, making it possible to browse and analyze it.

Motivation

For months the PEGIDA-movement (Patriotic Europeans Against the Islamization of the West) has been walking through Dresden. While taciturn in public, PEGIDA's fans do comment very openly on the facebook page. Thus, the idea came up to analyze the contents of the movement and of those persons commenting and liking it.

Requirements

  • PHP
  • Elasticsearch
  • Facebook Application (needed for appId, appSecret and accessToken)

Installation

composer create-project falsch/facebook_page_analyzer analyzer dev-master

cd analyzer

# boot up elasticsearch and kibana
docker-composer up -d

php app/console fetch --fetch-likes --fetch-comments

Usage

Usage:
 fetch [--only-posts] [--fetch-likes] [--fetch-comments] [--limit[="..."]] [--since[="..."]]

Options:
 --only-posts          If set, the task fetch only posts
 --fetch-likes         If set, the task fetch the likes
 --fetch-comments      If set, the task fetch the comments
 --limit               Paging for Facebook Request (default: 250)
 --since               Fetch only data since a special "strtotime" term, like "yesterday"
 --before              Fetch only data before a special "strtotime" term, like "yesterday"