Open GoogleCodeExporter opened 9 years ago
Is there any problem in this function in CredentialMediator??
private Userinfo getUserInfo(Credential credential)
throws NoUserIdException {
Userinfo userInfo = null;
// Create a user info service, and make a request to get the user's info.
Oauth2 userInfoService =
new Oauth2.Builder(TRANSPORT, JSON_FACTORY, credential).build();
try {
userInfo = userInfoService.userinfo().get().execute();
if (userInfo == null) {
throw new NoUserIdException();
}
} catch (IOException e) {
e.printStackTrace();
}
return userInfo;
}
Original comment by meetma...@gmail.com
on 7 Feb 2013 at 8:28
Hello, I have the same problem. Have you find the solution?
Original comment by ale...@gmail.com
on 1 Mar 2013 at 2:19
1. Add Google API (Drive API, Google OAuth2 API) from "Google Plugin for
Eclipse" menu.
ref. screenshot1.png
2. Project => properties => Java Build Path => Order and Export
Check "Drive API" and "Google OAuth2 API"
ref. screenshot2.png
3. Check the folder "WEB-INF/lib"
ref. screenshot3.png
and I solved this problem.
Original comment by sunnysid...@gmail.com
on 2 Mar 2013 at 1:42
Attachments:
i am following above flow but i am not getting any out put.
Original comment by sandya....@gmail.com
on 11 Jun 2013 at 9:48
i am following above flow but i am not getting any out put.if u now how to
slove these problm plz give suggestions
http://delhiadbox.appspot.com/?code=4/XZDVdDJ9v7SziXAKs0qDcDqVBly4.0kBFKvnEv2sbg
rKXntQAax06GCBlfgI
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error
message and the query that caused it.
Original comment by sandya....@gmail.com
on 11 Jun 2013 at 9:52
Original issue reported on code.google.com by
meetma...@gmail.com
on 6 Feb 2013 at 2:54Attachments: