Open a7md0 opened 9 years ago
Fatal error: Class 'Instagram\Core\Proxy' not found in C:\xampp\htdocs\Insta\Auth.php on line 54
Auth.php on line 54: $this->proxy = new \Instagram\Core\Proxy( $client ? $client : new \Instagram\Net\CurlClient );
I hope someone help me with that, I try to solve it for 5 hours!
I have create index.php, and this the code inside: <?php
session_start(); require_once('Auth.php'); $auth_config = array( 'client_id' => '*deleted*', 'client_secret' => '*deleted*', 'redirect_uri' => '*deleted*', 'scope' => array( 'likes', 'comments', 'relationships' ) ); $auth = new Instagram\Auth( $auth_config ); if (isset($_GET['code']) && !empty($_GET['code'])){ $_SESSION['instagram_access_token'] = $auth->getAccessToken( $_GET['code'] ); echo 'ok'; }else{ $auth->authorize(); }
?>
Fatal error: Class 'Instagram\Core\Proxy' not found in C:\xampp\htdocs\Insta\Auth.php on line 54
Auth.php on line 54: $this->proxy = new \Instagram\Core\Proxy( $client ? $client : new \Instagram\Net\CurlClient );
I hope someone help me with that, I try to solve it for 5 hours!
I have create index.php, and this the code inside: <?php
?>