I am using Facebook graph API to get specific Instagram post likes, I get user meta data and media and ... but I can't get users who had liked my instagram post. here is my php code:
$postLikesEndpoint = 'https://graph.facebook.com/v7.0/{object_id}; // object_id = 17859297607958330;
// endpoint params
$igParams = array(
'fields' => 'likes.summary(true)',
'access_token'=> env('ACCESS_TOKEN')
);
$client = new Client();
$response = $client->request('GET', $postLikesEndpoint, ['query' => $igParams]);
$body = $response->getBody();
$responseArray = json_decode($body,true);
var_dump($responseArray);