PHP code example of thoughtchimp / unengage-api-wrapper
1. Go to this page and download the library: Download thoughtchimp/unengage-api-wrapper 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/ */
thoughtchimp / unengage-api-wrapper example snippets
use Unengage\API;
$api = API('Pass api_key here');
$api->createStreamSocialAccount('STREAM_ID', NAME, USERNAME, UID, PLATFORM, TOKEN, [array of properties]);
$account = $api->createStreamSocialAccount('STREAM_ID', 'Rohit Khatri', 'rohit49khatri', '39478934', 'twitter', '39478skhf3948shkjfsdf', [
'secret' => 'Here secret goes if provided by the platform example twitter',
'refresh_token' => 'Here secret goes if provided by the platform example youtube'
]);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.