I am following the documentation provided by google to access gmail using API. According to the google documentation we need access token to manage gmail.
So I tried to create an access token by reading this documentation links given below.
Link1 :- developers.google.com/accounts/docs/OAuth2WebServer, created URL1 based on this document.
Link2 :- code.google.com/p/google-mail-oauth2-tools/wiki/OAuth2DotPyRunThrough, created URL2 based on this document.
I am getting the invalid client response in both requests. Please help me to find the reason of getting the invalid client response.