Hasokeyk/instagram

got Undefined array key 1 at this line $login = $instagram->login->login();

Opened this issue · 0 comments

here's my code
$username = ''; $password = ''; $instagram = new Instagram($username,$password); // dd($instagram); $login = $instagram->login->login(); if($login){ echo 'Login success'; }else{ echo 'Login Fail'; }

got Undefined array key 1 at this line $login = $instagram->login->login();

Here's the result of dd($instagram);
image
There is no login function available in $instagram->login