sandrocods / php-instagram-web-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram Web API Client ❤️️📷

A PHP 7.2+ Function to read and process Instagram Client. This library requires Curl ,extensions installed.

How to usage

Authenticate Instagram Account

include 'Instagram_Web_API/InstagramFunc.php';
$login = login('Username','Password',Cookie());

U can save Cookie with

Savecookie('Username',$login);

Example login using cookie

include 'Instagram_Web_API/InstagramFunc.php';
$login_cookie = Logincookie('Username');
$Geteditprofile = Geteditprofile($login_cookie);
print_r($Geteditprofile);

Feature

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 ✔️

Example

GetCookie

$cookie = Cookie();

return Csrf , Mid , Ig_did

Login

$login = login('Username','Password',Cookie());

LoginCookie

$login_cookie = Logincookie('Username');

InfoAccount

$InfoAccount = InfoAccount($username, $login_cookie)

Follow

$Follow = Follow($user_id, $login_cookie);

Unfollow

$Unfollow = Unfollow($user_id, $login_cookie);

Like

$Like = Like($media_id, $cookie);

Unlike

$Unlike = Unlike($media_id, $cookie);

Comment

$Comment = Comment($media_id, $text, $cookie);

Uncomment

$Uncomment = Uncomment($media_id, $comment_id, $cookie)

Unlike

$Unlike = Unlike($media_id, $cookie)

Unlike

$Unlike = Unlike($media_id, $cookie)

Getcomment

$Getcomment = Getcomment($shortcode, $cookie);

Likecomment

$Likecomment = Likecomment($comment_id, $cookie);

Savemedia

$savemedia = Savemedia($media_id, $cookie);

Getactivity

$getactivity = Getactivity($cookie);

Gethome

$timeline = Gethome($cookie, $End_cursor = null);

Geteditprofile

$geteditprofile = Geteditprofile($cookie);

Editprofile

$Editprofile = Editprofile($cookie, $first_name, $email, $username, $phone_number, $biography);

Changepassword

$changepassword = Changepassword($cookie, $old_password, $new_password);

fetch_inbox

$fetch_inbox = fetch_inbox($cursor = null, $cookie);

delete_inbox

$delete_inbox = delete_inbox($thread_id, $cookie);

Changeprofile

$Changeprofile = Changeprofile($cookie, $path_image);

Removeprofilepicture

$Removeprofilepicture = Removeprofilepicture($cookie);

Savecookie

$Savecookie = Savecookie($username , $cookie);

About


Languages

Language:PHP 100.0%