Closed mohammad-imanni closed 5 years ago
I'll look into it.
It's now possible to follow, and unfollow a user.
$response = $instagram->searchByUser("instagram");
/**
* @var \Instagram\SDK\DTO\General\User $user
*/
$user = current($response->getUsers());
$response = $user->follow();
var_dump($response->getFriendshipStatus()->getFollowing());
Fixed
please write a wiki or example for use this api to follow,like,comment .