Hi,

The ClientLogin feeds are a little diferrent than their AuthSub
counterparts.  You need to specify a profileID let the server
know why profile to interact with.  The format is:
GET https://www.google.com/health/feeds/profile/ui/profileID

To determine the correct profileID, I would query the
profile/list feed first:
GET https://www.google.com/health/feeds/profile/list

See this doc for reference:
http://code.google.com/apis/health/reference.html#ClientLoginFeeds

Eric

On Sep 30, 1:28 pm, FranceTelecomIphoneGeek <[EMAIL PROTECTED]>
wrote:
> Hey,
> I am a newbie for google health and I am writing an application on
> Iphone to access google health data. Since GData client api with
> Health support is not there yet, I am just trying to use http request
> and response to retrieve profile.
>
> I successfully authenticated with google ClientLogin api, and I got
> auth token. Then I tried to read profile by following http request:
> "https://www.google.com/health/feeds/profile/default";
>
> GET /health/feeds/profile/default HTTP/1.1
> Content-Type: application/atom+xml
> Authorization: GoogleLogin auth="My token"
>
> I got error message "Token invalid". How can I resolve this?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" 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://groups.google.com/group/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to