I was told to work on the google api. its pretty much the same as FB but I am having a slight trouble with redirect_url
This is the url which my app is using to get a access token
https://accounts.google.com/o/oauth2/auth?client_id=**********3-uiqulutgsobu5df302tup49v6e6ae5qu.apps.googleusercontent.com?&redirect_uri=http://localhost/Default1.aspx&scope=https://www.google.com/m8/feeds/&response_type=token
When I registered the app I set the redirect_url to
http://localhost/Default1.aspx
In my project there is a page called Default.aspx. The name of the solution is Googleprofiles.
It gives me an error: The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could
have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default1.aspx
Looks very simple. But I am unable to fix it.. Need some expert help
Thanks Sun
您的redirect_uri
是错误的,更改它或将您的Default.aspx
重命名为Default1.aspx
:
redirect_uri=http://localhost/Default.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.