falsch / facebook_page_analyzer
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 2
Open Issues: 0
Type:project
Requires
- php: >=5.3.3
- facebook/php-sdk-v4: ~4.0
- incenteev/composer-parameter-handler: ~2.0
- ruflin/elastica: ~1.4
- sensio/distribution-bundle: ~3.0,>=3.0.12
- symfony/symfony: 2.6.*
Requires (Dev)
- sensio/generator-bundle: ~2.3
This package is auto-updated.
Last update: 2020-09-06 00:08:23 UTC
README
![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"