Skip to content
Romain Monteil edited this page Nov 12, 2019 · 8 revisions

Start

First, you have to create a Messenger instance

use Kerox\Messenger\Messenger;

$messenger = new Messenger($appSecret, $verifyToken, $pageToken);

API version

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

Clone this wiki locally