4 ms·
Or use Google: https://www.google.com/s2/favicons?domain=twitter.com https://www.google.com/s2/favicons?domain=twitter.com
by tzm 8y ago
Or use Google: https://www.google.com/s2/favicons?domain=twitter.com https://www.google.com/s2/favicons?domain=twitter.com
- spdustin 8y agoUnless that endpoint can also return other resolutions, Favicon Kit offers more: https://api.faviconkit.com/twitter.com/144 https://api.faviconkit.com/twitter.com/144 https://api.faviconkit.com/twitter.com/16 https://api.faviconkit.com/twitter.com/16 (Though, I will say, the URIs returned for Twitter and the image sizes don't actually align in those cases. The first is actually 192ˣ192 pixels, and the second is 32ˣ32 pixels. That seems odd. Maybe they should have endpoints like domain/large, domain/medium, domain/small?)
- AndreasPizsa 8y agoGreat feedback, thanks. The number after the domain is meant to be "this or the next greater size"; the actual size depends on what the source web site offers.
- AndreasPizsa 8y agoGoogle’s S2 is great for 16x16 icons. I’m not sure it also does sizes larger than this.