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

Fatal error: Uncaught exception #600

Closed
mega94 opened this issue Feb 2, 2020 · 1 comment
Closed

Fatal error: Uncaught exception #600

mega94 opened this issue Feb 2, 2020 · 1 comment
Labels

Comments

@mega94
Copy link

mega94 commented Feb 2, 2020

Fatal error: Uncaught exception 'InstagramScraper\Exception\InstagramAuthException' with message 'Something went wrong. Please report issue.' in /home/n/dir/dir/public_html/vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php:1449 Stack trace: #0 /home/n/dir/dir/public_html/index.php(9): InstagramScraper\Instagram->login() #1 {main} thrown in /home/n/dir/dir/public_html/vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php on line 1449

require 'vendor/autoload.php';
use phpFastCache\Helper\Psr16Adapter;

$instagram = \InstagramScraper\Instagram::withCredentials('***', '***', new Psr16Adapter('Files'));
$instagram->login(); // will use cached session if you can force login $instagram->login(true)
$account = $instagram->getAccountById(3);
echo $account->getUsername();
@stale
Copy link

stale bot commented Apr 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 2, 2020
@stale stale bot closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant