hi, 

i am new with php, and i have problem with the tutorial that uplouded on youtube. 

i followed step by step on PHP Instagram Downloader Tutorial. 

and i got error :{"code": 400, "error_type": "OAuthException", "error_message": "Invalid Client ID"}.

what am i do wrong?

this is my php code:

<?php

set_time_limit(0);
ini_set('difault_socket_timeout',300);
session_start();

define('clientID','75e28043c57548b2865561640cb4857d');
define('clientsecret','0b9e9f256c3840c49fa19ce9fc213859');
define('redirecrtURL','http://localhost/my_project/index.php');
define("imageDirctorty",'C:\wamp\www\my_first_php\pic')  //????? ?? ?? ???? 

?>

<!doctype html>
<html>
<body>
<a href="https://api.instagram.com/oauth/authorize/?client_id=<?php echo clientID; ?> &redirect_uri=<?php echo redirecrtURL;?>&response_type=code">login</a>


</body>




</html>