Hi Alan, please help me! Finally, I read all the contacts but I do not know how to read user data logged, as name, last name, email, address...
I used this code, is it right? STEP 1 String scope = "https://www.google.com/m8/feeds/"; boolean secure = false; boolean session = true; String authSubLogin = AuthSubUtil.getRequestUrl(next, scope, secure, session); response.sendRedirect(authSubLogin); STEP 2 ContactsService myService = new ContactsService(".........."); String sessionToken = AuthSubUtil.exchangeForSessionToken(token, null); myService.setAuthSubToken(sessionToken, null); URL feedUrl = new URL("https://www.google.com/m8/feeds/contacts/default/full"); ContactFeed resultFeed = myService.getFeed(feedUrl, ContactFeed.class); System.out.println(resultFeed.getId()); but now I have many answers! 1) Where I set my clientID and my clientSecret? 2) Which feed I call for get user account information? First name, last name, email, etc.? Thanks -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
