Giter Site home page Giter Site logo

Comments (9)

thebaer avatar thebaer commented on May 22, 2024 1

Okay cool. I'll get this fix in the next version.

from writefreely.

thebaer avatar thebaer commented on May 22, 2024

Yeah, I was looking at URLs from a certain federated platform when implementing this, which was not right. Thanks for reporting!

from writefreely.

puckipedia avatar puckipedia commented on May 22, 2024

wwait, so if I feed in https://example.com/follow, what ID does it send the accept as?

from writefreely.

thebaer avatar thebaer commented on May 22, 2024

It should come back as https://example.com/follow#accept with the latest commit -- it just appends #accept to the follow ID. Does that work?

from writefreely.

puckipedia avatar puckipedia commented on May 22, 2024

the issue is that you don't own example.com, so why would you be allowed to say that you own an object on that domain?

from writefreely.

thebaer avatar thebaer commented on May 22, 2024

I'm following Plume's lead here, which did exactly this when last I checked. I haven't looked at other platforms yet to figure out what a better ID would be -- but I'm open to suggestions!

from writefreely.

puckipedia avatar puckipedia commented on May 22, 2024

generate a random GUID and do something like https://contoso.com/activities/12345678-1234-1234-12345678, as long as it's on the same origin; it's mostly transient after all

from writefreely.

thebaer avatar thebaer commented on May 22, 2024

Gotcha. And that should actually resolve to the Accept activity? Do you know how long it has to be retained?

from writefreely.

puckipedia avatar puckipedia commented on May 22, 2024

"officially" it has to, but seeing as noone will ever refer back to it (you're not going to Announce it, etc), it definitely doesn't have to resolve (it doesn't on Mastodon, for example).

Mastodon actually uses https://example.com/users/{username}#accepts/follows/{internal follow ID}, for reference, which doesn't resolve either

from writefreely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.