7

I've implemented OpenID-Login with Google. I can access the following attribute types 'contact/email', 'namePerson/first', 'namePerson/last' and 'pref/lang'. But I also wanna have the Google Account image/avatar. Concerning to the specs from http://www.axschema.org/types it should be 'media/image/default' or 'media/image/aspect11' but none of them work :(

Isn't it possible to access the image/avatar via OpenID?
Is the AX type something else?
Is there any other possibility to get that image?

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
Oliver
  • 236
  • 1
  • 7

1 Answers1

5

According to the Google Federated Login page, Google supports only the following AX attributes:

As you can see, none of these contain user's avatar. So as far as I know, there is no way to get it.

Community
  • 1
  • 1
Mewp
  • 4,715
  • 1
  • 21
  • 24
  • 3
    It seems it's still unavailable as of Aug '12, two years layer, but there's always the possibility to find a way to get the Google+ ID: https://profiles.google.com/s2/photos/profile/[ID]?sz=[Size in pixels] . The ID format is XXXXXXXXXXXXXXXXXXXXX where X are digits, and is visible when checking google+ posts. – Léon Pelletier Aug 04 '12 at 19:12