falsch/facebook_page_analyzer

此软件包已被放弃且不再维护。未建议替代软件包。

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)

Facebook Page Analyzer 可以编辑任何 Facebook 页面的公共数据,使其可以浏览和分析。

动机

数月来,PEGIDA运动(爱国欧洲人反对西方伊斯兰化)一直在德累斯顿游行。虽然他们在公共场合沉默寡言,但PEGIDA的粉丝在Facebook页面上非常公开地评论。因此,产生了分析该运动及其评论者和点赞者的内容的想法。

需求

  • PHP
  • Elasticsearch
  • Facebook 应用程序(需要appId、appSecret和accessToken)

安装

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:
 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"