DB Connected successfully
Notice: Undefined index: refresh_token in /var/www/html/Atom/getNewToken.php on line 4

Warning: file_get_contents(https://login.live.com/oauth20_token.srf?client_id=0000000048183085&redirect_uri=http://localhost/Atom/testAPI.php&client_secret=I0K4-qe9-yg49ThfehmbqqeH-XZkCvnD&refresh_token=&grant_type=refresh_token): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /var/www/html/Atom/getNewToken.php on line 5
NULL
Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7

Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7

Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7

Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7

Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7

Notice: Trying to get property of non-object in /var/www/html/Atom/getNewToken.php on line 7
Empty user id