Hello John,
just by chance I put the OAuth2 in the OAuth subToken property and -for
some reason- it works:
ContactsService service = new ContactsService(APP_NAME);
String accessToken = <OAuth2 access token>
//service.setHeader(HTTP11_AUTHORIZATION, BEARER + " " + accessToken);
service.setAuthSubToken(accessToken);
ContactFeed resultFeed = service.getFeed(URL,
ContactFeed.class);
Most probably not intended. Strangely "Authorization", "Bearer <token>
doesn't work for me.
Best regards,
Guido
--
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