PHP code example of bootdesk / chat-sdk-adapter-instagram
1. Go to this page and download the library: Download bootdesk/chat-sdk-adapter-instagram library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bootdesk / chat-sdk-adapter-instagram example snippets
use BootDesk\ChatSDK\Instagram\InstagramAdapter;
$adapter = new InstagramAdapter(
pageAccessToken: env('INSTAGRAM_PAGE_ACCESS_TOKEN'),
httpClient: new \GuzzleHttp\Client,
appSecret: env('INSTAGRAM_APP_SECRET'),
verifyToken: env('INSTAGRAM_VERIFY_TOKEN'),
);