Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Proposed core user contacts raw

External User Profiles

me.rafaelcosta.user.profiles

This raw lists a user's external profiles.

By convention, these are common options, but users or clients can specify their own also:

pnut
homepage
blog
twitter
signal
telegram
facebook
mastodon
micro.blog

Example

{
    "type": "me.rafaelcosta.user.profiles",
    "value": {
        "profiles": [
            {
                "service": "signal",
                "id": "+12223334444"
            },
            {
                "service": "telegram",
                "id": "rafaelcosta"
            },
            {
                "service": "facebook",
                "id": "thisthat444"
            },
            {
                "service": "facebook",
                "id": "thatthis444",
                "text": "Work"
            },
            {
                "service": "blog",
                "url": "https://example.com"
            },
            {
                "service": "homepage",
                "url": "https://example.com"
            }
        ]
    }
}

Fields

Field Required? Type Description
service Required string The service hosting the profile
id Optional string ID of the user. If not provided, clients can assume there is nothing to parse but the url to a website
url Optional string If no id is provided, this is required. Otherwise optional.
text Optional string Should supplement any profile handle or service name, not replace it

Maintainers

  • @rafaelcosta
  • @33MHz
  • @ludolphus

Used by

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.