You are viewing a single comment's thread:

RE: Proposing a front-end agnostic way to store Bitcoin Lightning, crypto and social media addresses in a Hive profile

This is very close to the implementation I did in the cyberspace app, except using the long-form names for the social media sites like "youtube", "instagram" etc, normalized to lower-case, and also storing just the handle (normalized) for known social media sites (also automatically extracted from urls), or the url for unknown ones, as a fallback, if the user provided a full url, otherwise only the text is stored, the user provided.

When displaying the social links, its up to the front-ends how to display (sanitize) the usernames and link to the respective sites, for known social media types.

"social":{
"x":"username",
"instagram":"username",
"discord":"username",
"link-1":"url",...
}
0.00000000 BEE
0 comments