sohaibilyas/catch-webhooks
Composer 安装命令:
composer require sohaibilyas/catch-webhooks
包简介
Simple API to receive webhooks (real-time updates) sent by social websites e.g. Facebook using PHP.
README 文档
README
Simple API to receive webhooks (real-time updates) sent by social websites e.g. Facebook using PHP.
Installation
composer require sohaibilyas/catch-webhooks
Usage
use SohaibIlyas\CatchWebhooks\FacebookWebhook; require './vendor/autoload.php'; $facebookWebhook = new FacebookWebhook('fb-app-secret'); $facebookWebhook->get(function($type, $webhookArray) { // type can be page or user if ($type === 'page') { print_r($webhookArray); } });
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-26