Terence Eden. He has a beard and is smiling.
Theme Switcher:

Goodbye avatars .io - hello unavatar!

· 2 comments · 200 words · Viewed ~1,538 times


Given a social media user's username, how do you get a picture of their avatar?

I always used avatars.io - but sadly that service has bitten the dust. So I've switched to unavatar.

It's dead easy to use. https://unavatar.now.sh/twitter/edent will return @edent's avatar. You can use GitHub, Facebook, Gravatar, Instagram, Telegram, YouTube, SoundCloud, and a couple of other providers.

Simple to use, and easy to embed in an <img> element.

It's also open source and looks pretty easy to deploy if you want to host it yourself.

Why is this needed?

In an ideal world, there would be a standard for where to find a user's avatar. Possibly a .well-known resource. Until then, we have to make do with 3rd party services playing intermediary.


Share this post on…

2 thoughts on “Goodbye avatars .io - hello unavatar!”

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

See allowed HTML elements: <a href="" title="">
<abbr title="">
<acronym title="">
<b>
<blockquote cite="">
<br>
<cite>
<code>
<del datetime="">
<em>
<i>
<img src="" alt="" title="" srcset="">
<p>
<pre>
<q cite="">
<s>
<strike>
<strong>

To respond on your own website, write a post which contains a link to this post - then enter the URl of your page here. Learn more about WebMentions.