Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies and Session for Login #1123

Open
backendservices1337 opened this issue May 21, 2023 · 1 comment
Open

Cookies and Session for Login #1123

backendservices1337 opened this issue May 21, 2023 · 1 comment

Comments

@backendservices1337
Copy link

hi, i just need help for login with session or cookie

1 - how can i get cookies after login?
2 - how can i get session information after login?
3 - how can i use these ways to login?

thank you

@techmobify
Copy link

techmobify commented Nov 10, 2023

$instagram = \InstagramScraper\Instagram::withCredentials(new \GuzzleHttp\Client(),'username', 'password', new Psr16Adapter('Files'));
$instagram->login();
$instagram->saveSession();
$instagram->loadSession();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants