Is there a common practice for how to automatically detect the social icon of a fediverse site-link when adding it to a ‘personal links’ section like in GitHub?
-
Is there a common practice for how to automatically detect the social icon of a fediverse site-link when adding it to a ‘personal links’ section like in GitHub? We’re trying to implement this for #weirdone
Support Mastodon Social Link Detection · Issue #294 · muni-town/weird
Right now we don't properly show a mastodon icon for social links to mastodon. The issue is that you may have any number of different mastodon servers so we can't match on domain like we do for the other platforms. We need to have the cl...
GitHub (github.com)
-
Riley S. Faelanreplied to Erlend Sogge Heggen last edited by
@erlend I'd use the mechanism browsers do: grab the webpage, possibly preferably the top page, and look for a
meta rel='icon'
tag. Might also considermeta rel='apple-touch-icon'
, depending on your context; sometimes, these are available at higher resolutions (but sometimes, they follow slightly different design constraints).