2017 © Pedro Peláez
 

library facebook-messenger-webhook

image

linuskohl/facebook-messenger-webhook

  • Sunday, April 30, 2017
  • by linuskohl
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

facebook-messenger-webhook

Unofficial Facebook Messenger Webhook in PHP
Official documentation available here
, (*1)

Requirements

  • "netresearch/jsonmapper" : "~1.1.1"

Install

Via Composer, (*2)

bash $ composer require linuskohl/facebook-messenger-webhook dev-master, (*3)

License

The MIT License (MIT). Please see License File for more information., (*4)

Documentation

Class: linuskohl\facebookMessengerWebhook\Webhook

Visibility Function
public __construct(string $app_secret, string $validation_token) : void
Webhook constructor.
public handle(mixed $request_body) : void
Handle POST request
public handleVerification(mixed $parameters) : bool
Handle GET verification requests https://developers.facebook.com/docs/graph-api/webhooks#verification
public verifyRequestSignature(string $signature, string $body) : void
Verify that the callback came from Facebook https://developers.facebook.com/docs/graph-api/webhooks#setup

The Versions

30/04 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

facebook webhook endpoint messenger