Giter Club home page Giter Club logo

instagram-api's Introduction

Hi ๐Ÿ‘‹, I'm Suphi Yasin

A passionate Backend developer from turkey

Connect with me:

suphi suphi

Languages and Tools:

bootstrap css3 firebase graphql html5 javascript mysql nodejs php python reactnative

ย suphiyasin

instagram-api's People

Contributors

suphiyasin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

instagram-api's Issues

direct Message

hi

How to direct everyone?
by numerical ID
I want to send direct messages to other people with some fake accounts and advertise my page.

$api->user->sendMessage();

You can only send direct messages to your followers with this function

token

hi
Where can I get the $token?

Two Factor Login Not Workin

I am using this code:
I have to use 6-digit code:
But gives an error in response: {"message":"This code is no longer valid. Please request a new code.","status":"fail","error_type":"invalid_nonce"}

PLEASE CHECK I THINK THERE IS PROBLEM IN FUNCTION
$api = new Instagram();
$username = 'mr_naveennain';
$password = 'Vikram!126116';
if(isset($_GET['factorcode'])){
$twofid = $_GET['twoid'];
//1= Sms Verifivation || 2 = backup codes || 3 = Duo app code || 4= I guess its whatsapp
$step3 = json_decode($api->login->twofactorv2($username, $twofid, $_GET["factorcode"], "3"), true);
print_r($step3);
if($step3["status"] == "ok"){
echo "login success";
}else{
echo "login fail";
}
}else{
$step1 = json_decode($api->login->loginv2($username, $password), true);
if($step1["Status"] == "ok"){
echo "already logged";
}else if($step1["Status"] == "fail" and isset($step1["TwoFactorId"])){
$twofid = $step1["TwoFactorId"];
print_r($step1);
echo '

<input type="hidden" value="'.$step1["TwoFactorId"].'" name="twoid"/> ';

}else{
//somthing went wrong
var_dump($step1);
}
}

Get Medias by username

Hi,
I need some help to get medias
I try to get user info with

$api->webapi->getUserInfoFromUsername($token, $username);

I see this user response include edge_owner_to_timeline_media
But no medias edges included and with response empty array

Is there a special function to retrieve media?

Thank for your awesome tools

Failed to enable TOTP (new func)

I using python3 with your new func for enable 2 factor.

GET TOTP CODE: 
{
"totp_seed":"MYYQQMO3R2PCAABSK4JIKJSHKGU266SM",
    "totp_seed_id":17953438667740618,
    "status":"ok"
}

PARAMS DATA:
{
    "verification_code":"406162",
    "_uid":"52301356617",
    "_uuid":"8bd64721-c95c-4849-883a-1a6a7868d5a3",
    "device_id":"android-7c9de4cd0c3c4344"
}

ENABLE TOPT:
{
    "message":"",
    "status":"fail"
}

Hope you can help me, thanks ๐Ÿ™๐Ÿป

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.