Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. General Discussion
  3. Is there a way to fetch a profile's JSON from a server with authorized_fetch enabled without being a fully fledged actor?

Is there a way to fetch a profile's JSON from a server with authorized_fetch enabled without being a fully fledged actor?

Scheduled Pinned Locked Moved General Discussion
mastodonactivitypub
1 Cross-posts 4 Posts 2 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • turmoni@treehouse.systemsT
    turmoni@treehouse.systemsT
    turmoni@treehouse.systems
    wrote last edited by
    #1

    Is there a way to fetch a profile's JSON from a server with authorized_fetch enabled without being a fully fledged actor? It doesn't feel like what I'm trying to do is bad, I want to give people the option to get information about themselves from their profiles, as is visible to the world in the HTML view, but it seems like authorized_fetch is expecting a lot more than I thought.

    I guess I might need to get them to actually log in, but am I right in thinking there that that's specifically a Mastodon API (that other servers may have implemented for compatibility)? It would be nice to be compatible with everything, but it does feel like I'm fighting the protocol at every step here.

    #mastodon #activitypub

    julian@activitypub.spaceJ 1 Reply Last reply
    0
    • turmoni@treehouse.systemsT turmoni@treehouse.systems

      Is there a way to fetch a profile's JSON from a server with authorized_fetch enabled without being a fully fledged actor? It doesn't feel like what I'm trying to do is bad, I want to give people the option to get information about themselves from their profiles, as is visible to the world in the HTML view, but it seems like authorized_fetch is expecting a lot more than I thought.

      I guess I might need to get them to actually log in, but am I right in thinking there that that's specifically a Mastodon API (that other servers may have implemented for compatibility)? It would be nice to be compatible with everything, but it does feel like I'm fighting the protocol at every step here.

      #mastodon #activitypub

      julian@activitypub.spaceJ
      julian@activitypub.spaceJ
      julian@activitypub.space
      wrote last edited by
      #2

      @turmoni@social.treehouse.systems yes, authorized fetch is Mastodon specific naming but is not Mastodon specific I suppose, as it's just a small config change where requests for AP resources are denied if there is no HTTP Signature.

      1 Reply Last reply
      0
      • ? [[global:guest]] crossposted this topic to General Discussion
      • julian@activitypub.spaceJ
        julian@activitypub.spaceJ
        julian@activitypub.space
        wrote last edited by
        #3

        But... no, you can't get around it except by using a proxy AP service maybe 😅

        @turmoni@social.treehouse.systems

        1 Reply Last reply
        0
        • turmoni@treehouse.systemsT
          turmoni@treehouse.systemsT
          turmoni@treehouse.systems
          wrote last edited by
          #4

          @julian I now realise I was potentially confusing with my wording. I've largely got to the point of having the ability to get something with authorised fetch enabled, but the requirement to have so much else alongside the public key is making me a bit uneasy. The next paragraph was considering throwing this away and using the Mastodon API instead, although in addition to not being plain AP this would still be fiddly due to the client being on an embedded device

          The idea of a proxy might actually be the least worst way to do it, I can limit the data it'll return to just the things I care about and not make users have to plug their device in to a PC to be able to authenticate to the API, I hadn't considered that

          1 Reply Last reply
          1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups