A PHP 7.2+ Function to read and process Instagram Client. This library requires Curl ,extensions installed.
include 'Instagram_Web_API/InstagramFunc.php';
$login = login('Username','Password',Cookie());
U can save Cookie with
Savecookie('Username',$login);
include 'Instagram_Web_API/InstagramFunc.php';
$login_cookie = Logincookie('Username');
$Geteditprofile = Geteditprofile($login_cookie);
print_r($Geteditprofile);
Feature | Available |
---|---|
GetCookie | ✔️ |
Login | ✔️ |
LoginCookie | ✔️ |
InfoAccount | ✔️ |
Follow | ✔️ |
Unfollow | ✔️ |
Like | ✔️ |
Unlike | ✔️ |
Comment | ✔️ |
Uncomment | ✔️ |
GetComment | ✔️ |
LikeComment | ✔️ |
Savemedia | ✔️ |
Getactivity | ✔️ |
Gethome | ✔️ |
Geteditprofile | ✔️ |
Editprofile | ✔️ |
Changepassword | ✔️ |
fetch_inbox | ✔️ |
delete_inbox | ✔️ |
Changeprofile | ✔️ |
Removeprofilepicture | ✔️ |
Savecookie | ✔️ |
$cookie = Cookie();
return Csrf , Mid , Ig_did
$login = login('Username','Password',Cookie());
$login_cookie = Logincookie('Username');
$InfoAccount = InfoAccount($username, $login_cookie)
$Follow = Follow($user_id, $login_cookie);
$Unfollow = Unfollow($user_id, $login_cookie);
$Like = Like($media_id, $cookie);
$Unlike = Unlike($media_id, $cookie);
$Comment = Comment($media_id, $text, $cookie);
$Uncomment = Uncomment($media_id, $comment_id, $cookie)
$Unlike = Unlike($media_id, $cookie)
$Unlike = Unlike($media_id, $cookie)
$Getcomment = Getcomment($shortcode, $cookie);
$Likecomment = Likecomment($comment_id, $cookie);
$savemedia = Savemedia($media_id, $cookie);
$getactivity = Getactivity($cookie);
$timeline = Gethome($cookie, $End_cursor = null);
$geteditprofile = Geteditprofile($cookie);
$Editprofile = Editprofile($cookie, $first_name, $email, $username, $phone_number, $biography);
$changepassword = Changepassword($cookie, $old_password, $new_password);
$fetch_inbox = fetch_inbox($cursor = null, $cookie);
$delete_inbox = delete_inbox($thread_id, $cookie);
$Changeprofile = Changeprofile($cookie, $path_image);
$Removeprofilepicture = Removeprofilepicture($cookie);
$Savecookie = Savecookie($username , $cookie);