-
Notifications
You must be signed in to change notification settings - Fork 30
Home
Romain Monteil edited this page Nov 12, 2019
·
8 revisions
First, you have to create a Messenger instance
use Kerox\Messenger\Messenger;
$messenger = new Messenger($appSecret, $verifyToken, $pageToken);
If necessary, you can specify which version of the API to use by passing the version number as a string in the fourth parameter
use Kerox\Messenger\Messenger;
$messenger = new Messenger($appSecret, $verifyToken, $pageToken, 'v3.0');
By default, version v5.0
is used