turbio / infotech-final

0 stars 1 forks source link

profile icons #5

Open turbio opened 9 years ago

turbio commented 9 years ago

in order to implement icons, a really easy way would be to use https://en.gravatar.com/ which handles user icons so we don't have to. they have a bunch of api examples including php.

turbio commented 9 years ago

here's a link to the php api example https://en.gravatar.com/site/implement/images/php/ for user icons

Modjular commented 9 years ago

But that means they have to have another seperate account in order to use this. Doesn't steam provide user icons in their api?

https://developer.valvesoftware.com/wiki/Steam_Web_API#GetPlayerSummaries_.28v0002.29

you can access their steam avatar in teh "public data" in the JSON

turbio commented 9 years ago

i think we should use both, gravatar icons are basically tied to your email and used by a lot of websites (github uses them i think). If a user links their steam account: we'll use their steam icon. If they don't link it wit steam, we should just use the gravatar as a fallback.