A utility for resolving Twitter avatar URLs from their Twitter handles, built on the JAMstack
An API to grab Twitter avatars with just their twitter handle. Built as a JAMstack site and served on Netlify, with a sprinkling of serverless functions via Netlify Functions
// get the URL for the avatar of any twitter user by requesting:
https://twavatar.netlify.com/{small|large}/{handle}
// for example
https://twavatar.netlify.com/large/philhawksworth
Hopefully, this little utility is already useful, but you can also get your own version to deploy and experiment with. It is a useful example for getting started with Netlify Functions
To get your own instance of this example site up and running on Netlify very quickly, just click the button below and follow the instructions.
Good question. Here's what it will do...