PHP Client Library for http://deep.social API
PHP Client Library for http://deep.social API
If you are interested in a PHP API for Deep.Social, that’s your library :)
Install via composer
.
composer require stavarengo/deep-social-php-api-client:^0.0
Use it directly (without a factory).
$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());
Use our default factory (PSR-11).
$client = $container->get(\Sta\DeepSocialPhpApiClient\Client::class)
var_dump($response->hasError() ? $response->getErrorEntity() : $response->getEntity());