Closed sadegh2008 closed 3 years ago
You need to get hold of the user id, either by searching or from feed/message.
Here you have a simple search example;
$searchResult = $instagram->searchByUser('username');
if (!$searchResult->isSuccess()) {
die($searchResult);
}
foreach ($searchResult->getUsers() as $user) {
print_r($user);
die();
}
how to get user detail like user-id by username