Comments (9)
Okay cool. I'll get this fix in the next version.
from writefreely.
Yeah, I was looking at URLs from a certain federated platform when implementing this, which was not right. Thanks for reporting!
from writefreely.
wwait, so if I feed in https://example.com/follow
, what ID does it send the accept as?
from writefreely.
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.
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.
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.
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.
Gotcha. And that should actually resolve to the Accept
activity? Do you know how long it has to be retained?
from writefreely.
"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)
- poeditor localization disabled? HOT 1
- please aprove my account postheavent HOT 1
- Inconsistencies when updating a Collection's visibility
- Some optional properties (of a Collection) are less optional than others
- Date inconsistencies in the API
- Some API responses are `text/plain`, rather than JSON HOT 1
- website sign up HOT 1
- wrong date on subscribers page HOT 4
- Version not available in Docker image HOT 1
- Font toggle isn't working in classics editor HOT 2
- Post attributed to non-existent collection
- RSS doesn't maintain formatting HOT 1
- Error setting up GotoSocial as OAuth provider: unable to exchange code for access token
- Server down error HOT 1
- Complaint: Unable to sign-up HOT 2
- View with the list of drafts doesn't render the markdown correctly HOT 6
- Unable to register "Server Error" HOT 1
- Viewing Customize -page causes error HOT 1
- mv-24
- Docker image for production
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from writefreely.