Getting the profile picture of user with api


(Hosein Naseri) #1

I want to get the avatar of user via api. I’m seeing user.json however it contains so many avatar urls I dont know what to use:

avatar_template
gravatar_avatar_template
custom_avatar_template

what parameter should I use and Is there a better way?


(Hosein Naseri) #2

for avatar_template itself, there are three urls and one of them is for user:system. the other two are for the user. However I’m confused which one of these urls I should use?