Skip to content

Response code is 403: Forbidden.Something went wrong. Please report issue. at this line $instagram->login(); #1132

@hammadev

Description

@hammadev

Got Response code is 403: Forbidden.Something went wrong. Please report issue. at this line $instagram->login();

here's my code
$username = ''; $password = ''; $instagram = \InstagramScraper\Instagram::withCredentials(new \GuzzleHttp\Client(), $username, $password, new Psr16Adapter('Files')); // dd($instagram); $instagram->login(); // will use cached session if you want to force login $instagram->login(true) $instagram->saveSession(); //DO NOT forget this in order to save the session, otherwise have no sense $account = $instagram->getAccountById(3); echo $account->getUsername();

here's my response for dd($instagram);
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions