Login and Logout Using Session in PHP and MySQLi
Now we have proceed for get profile data, for this here we have use get method and under this method we have to define profile fields like name, email etc and in second argument we have to define access token value.