Closed eversionsystems closed 6 years ago
Seem to be getting a 404 error when calling the function getMedias(). Whoops, worked out what the problem was the user doesn't exist.
PHP Fatal error: Uncaught exception 'InstagramScraper\Exception\InstagramException' with message 'Response code is 404. Body: <!DOCTYPE html> <!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7 logged-in "> <![endif]--> <!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 logged-in "> <![endif]--> <!--[if IE 8]> <html lang="en" class="no-js lt-ie9 logged-in "> <![endif]--> <!--[if gt IE 8]><!--> <html lang="en" class="no-js logged-in "> <!--<![endif]--> <head><meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Page Not Found • Instagram </title> <meta name="robots" content="noimageindex, noarchive"> <meta name="mobile-web-app-capable" content="yes"> <meta name="theme-color" content="#000000"> <meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1"> <link rel in C:\wamp\www\gc\wp-content\plugins\group-comment\includes\instagram-php-scraper\src\InstagramScraper\Instagram.php on line 193
User didn't exist, I will need to add some error handling.
Seem to be getting a 404 error when calling the function getMedias(). Whoops, worked out what the problem was the user doesn't exist.