-
Notifications
You must be signed in to change notification settings - Fork 30
IG User Insights
Justin Stolpe edited this page May 21, 2022
·
4 revisions
Get social metrics for an Instagram user.
use Instagram\User\Insights;
$config = array( // instantiation config params
'user_id' => '<IG_USER_ID>',
'access_token' => '<ACCESS_TOKEN>',
);
// instantiate insights for use
$insights = new Insights( $config );
// initial response
$userInsights = $insights->getSelf();