PHP code example of stavarengo / deep-social-php-api-client
1. Go to this page and download the library: Download stavarengo/deep-social-php-api-client 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/ */
stavarengo / deep-social-php-api-client example snippets
$client = new \Sta\DeepSocialPhpApiClient\Client('YOUR_DEPPSOCIAL_API_TOKEN', null);// This 'null' means: "no cache"
$response = $client->getAudienceData('@SOME_INSTAGRAM_USER_NAME');
var_dump($response->hasError() ? $response->getErrorEntity() : $response->getEntity());
$client = $container->get(\Sta\DeepSocialPhpApiClient\Client::class)
var_dump($response->hasError() ? $response->getErrorEntity() : $response->getEntity());
composer