Skip Navigation
13 comments
  • That is really interesting. Does anyone have an example of what a web finger might contain? It says avatar data but I’m interested in how sites use it.

    • Hey Thanks for reading, and I'm glad you found it interesting.

      To my understanding, Webfinger provides a standard API for discovering the user profile details no matter the software running on the node.

      For example,

       undefined
          
      $ curl https://programming.dev/.well-known/webfinger\?resource\=acct:snowe@programming.dev | jq
      {
        "subject": "acct:snowe@programming.dev",
        "links": [
          {
            "rel": "http://webfinger.net/rel/profile-page",
            "type": "text/html",
            "href": "https://programming.dev/u/snowe"
          },
          {
            "rel": "self",
            "type": "application/activity+json",
            "href": "https://programming.dev/u/snowe",
            "properties": {
              "https://www.w3.org/ns/activitystreams#type": "Person"
            }
          }
        ]
      }
      
        
      • lol well look at that. that's neat. seems a bit roundabout. How do you know the resource though? so you request the user information with the resource query param, but that means you already know the user, which means you likely got it from somewhere else right? if you got it from somewhere else, you likely have the ability to get the profile information from that location rather than requesting information twice. or am I thinking about this completely wrong?

        for example, I completely understand the chatgpt plugin and change password ones, but this one doesn't really make sense to me, since you have to know information before hitting it.

13 comments