With this PHP library, you can use all features of the instagram Mobile App
Demo
Β·
Feedback
Türkçe doküman için tıklayın
ππ INSTAGRAM PRO ππ
patreon: https://www.patreon.com/hasokeyk
Coin | Wallet |
---|---|
ETH | 0x2091be5b1840b10a841376c366ec0475771b4ec8 |
BTC | 12Set9KZGXWD64pbeGsdqZCJZofxyK77LP |
Feature | Instagram Pro | |
---|---|---|
π Use Proxy | β | βοΈ |
Login | βοΈ | βοΈ |
Two Factor Login | βοΈ (Just SMS) |
βοΈ (SMS,Whatsapp,Duo,3th App) |
π Register | β | βοΈ |
π Add Duo | β | βοΈ |
π Facebook Remover | β | βοΈ |
π Change Password | β | βοΈ |
π Change Email | β | βοΈ |
π A2F Disable | β | βοΈ |
Get My Inbox | βοΈ | βοΈ |
Send Message (Confetti,Heart,Gift Box) | βοΈ | βοΈ |
Send Photo Message | βοΈ | βοΈ |
Send Link Message | βοΈ | βοΈ |
Send Story Message | βοΈ | βοΈ |
Send Post Message | βοΈ | βοΈ |
Get User Info | βοΈ | βοΈ |
Get User Post | βοΈ | βοΈ |
Get User Story | βοΈ | βοΈ |
Share Post | βοΈ | βοΈ |
π Share Reels | β | βοΈ |
π Share Story | β | βοΈ |
π Delete Post | β | βοΈ |
π Get User Statistic | β | βοΈ |
π Get Post Statistic | β | βοΈ |
π (New) Post Pinning | β | βοΈ |
π (New) Post Unpinning | β | βοΈ |
π (New) Story Like | β | βοΈ |
π (New) Story Unlike | β | βοΈ |
π (New) Change Status | βοΈ | βοΈ |
π (New) Change Status Reply | βοΈ | βοΈ |
Get Followers | βοΈ | βοΈ |
Get Followings | βοΈ | βοΈ |
π Get Fake Followings | β | βοΈ |
π Get Fake Followers | β | βοΈ |
π Get Instagram Score | β | βοΈ |
Get Notifications | βοΈ | βοΈ |
Change Avatar | βοΈ | βοΈ |
Follow User | βοΈ | βοΈ |
UnFollow User | βοΈ | βοΈ |
Like Post | βοΈ | βοΈ |
Unlike Post | βοΈ | βοΈ |
Save Post | βοΈ | βοΈ |
Accept Follow Request | βοΈ | βοΈ |
π Don't Follow Me | βοΈ | βοΈ |
Get Pedding Message | βοΈ | βοΈ |
Get My Collections | βοΈ | βοΈ |
Create Collection | βοΈ | βοΈ |
Edit Collection | βοΈ | βοΈ |
Del Collection | βοΈ | βοΈ |
Send Comment To Post | βοΈ | βοΈ |
Delete Comment To Post | βοΈ | βοΈ |
Get Hashtag Info | βοΈ | βοΈ |
π Get My Secret Followers | βοΈ | βοΈ |
π Who Viewed My Profile | βοΈ | βοΈ |
Get Me Most Seen Feed | βοΈ | βοΈ |
Get Me Least Interacted With | βοΈ | βοΈ |
This project is made in PHP library of all instagram mobile app features. This library can send exactly same queries like mobile app and returns server responses.
Please read carefully.
- You must have to "composer" application on your PC. For installation https://getcomposer.org/download/
- PHP 7.4 or above
Give permission to the following files and folders with chmod 777.
/vendor/hasokeyk/
- you must determine your root(working) folder after that open console (
terminal )
composer require hasokeyk/instagram
- Firsty download repository
git clone https://github.com/hasokeyk/instagram.git
- Use the command below to download the required libraries.
composer install
You must login before each operation. In your first login operation, the system will be cached and your operation will run faster.
<?php
use Hasokeyk\Instagram\Instagram;
require "/vendor/autoload.php";
$username = 'username';
$password = 'password';
$instagram = new Instagram($username,$password);
$login = $instagram->login->login();
if($login){
echo 'Login success';
}else{
echo 'Login Fail';
}
//LOGIN CONTROL
$login_control = $instagram->login->login_control();
if($login_control){
echo 'Login True';
}else{
echo 'Login False';
}
//LOGIN CONTROL
In your first login attemp, if two factor authorization are enabled, instagram will send you a code. If you enter the code into the input area, yout login operation will be completed automatically. After your next logins, if yout IP is not changed, you can login without asking code.
<?php
use Hasokeyk\Instagram\Instagram;
require "/vendor/autoload.php";
$username = 'username';
$password = 'password';
$instagram = new Instagram($username, $password);
if(isset($_REQUEST['two_factor_login_code'], $_REQUEST['two_factor_identifier']) and !empty($_REQUEST['two_factor_login_code']) and !empty($_REQUEST['two_factor_identifier'])){
$code = trim($_REQUEST['two_factor_login_code']);
$token = trim($_REQUEST['two_factor_identifier']);
$two_factor_login = $instagram->login->two_factor_login($code, $token);
print_r($two_factor_login);
}else{
$login = $instagram->login->login();
if(isset($login->two_factor_identifier) and !empty($login->two_factor_identifier)){
echo <<<END
<form action="" method="post">
<input type="hidden" name="two_factor_identifier" value="$login->two_factor_identifier">
<input type="text" name="two_factor_login_code">
<input type="submit" value="Login">
</form>
END;
}
else if($instagram->login->login_control()){
echo 'Login Success';
}
else{
echo 'Login Fail';
}
}
When you run the below code, you will get last 50 posts of user you are logged into. If you want another accounts posts get_user_posts('hasokeyk') please use this.
<?php
use Hasokeyk\Instagram\Instagram;
require "../vendor/autoload.php";
$username = 'username';
$password = 'password';
$instagram = new Instagram($username,$password);
$login = $instagram->login->login_control();
if($login){
$user_posts = $instagram->user->get_user_posts();
print_r($user_posts);
}else{
echo 'Login Fail';
}
AsΔ±m Murat YILMAZ - GITHUB
You can download and use it as long as this project is under development. If used for other purposes The person who wrote the codes is not responsible. By downloading and using this project, you agree to this.
Hasan YΓΌksektepe - INSTAGRAM Website : https://hayatikodla.net