Hello Denys,

Please see my answers inline:

On Thu, Sep 29, 2011 at 7:53 AM, Denys Digtiar <[email protected]>wrote:

> We are developing app for Google Marketplace and want it to be integrated
> with google as much as possible.
> In one of the features we want to show Google Profiles photos besides names
> like in GMail peoples panel.
> But as far as I can tell after investigating Google Data APIs there no way
> to get link which I can simply put in the src attribute of the image.
> Contacts APIs return link to photo which is suitable
> for programmatic management through ContactsService and requires
> Authentication Header if I understand correctly therefore I can not simply
> put it into img tag.
>

Yes, you are correct. The photo link requires an authorization header and
cannot simply be put inside an img tag. What you can do however, is to
download a copy of the photo on your server and use this instead.


> There is image.url property in person structure in Google+ API but this API
> doesn't look like a viable option to use in app for domain. Am I write?
>

Google+ and Profiles are not available for Google Apps domain yet. Support
is coming, but I won't have an ETA.


> Can I somehow get user photo url like in Google+ API but through Contacts
> API or any other API?
>
>
Unfortunately, this is not yet possible. Please feel free to look for, or
post a new issue in the Contacts API issue
tracker<http://code.google.com/a/google.com/p/apps-api-issues/issues/list?q=label:API-Contacts>
.

Best,
Alain


> Sorry for my English. Thanks in advance.
>
> --
> 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
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

-- 
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

Reply via email to