Comments (4)
Thanks, I've opened a PR that fixes the guids.
For the dereferenceable URIs, what should be served? Just the objects themselves? If someone goes to the Note id uri, will they just get the Note sub-object, and if someone goes to the Create id uri, they get served the Create object with the note sub-object?
Can I leave out dereferencing the Create and just dereference the Note?
from express-activitypub.
for the Note's ID, you MUST (RFC2119
) serve the Note, and for the Create, you MAY return the Create with the Note inside, or just the Create.
from express-activitypub.
@puckipedia I think the commit I just added addresses your concern. For example, if I send a Note with the id
of https://2914e630.ngrok.io/m/78c20ffafb39e7fedf91e0916d6ed893
, if you make a GET request to the URL with your browser you get the following JSON object (that URL won't work because I'm testing using a temporary domain):
{
"id": "https://2914e630.ngrok.io/m/78c20ffafb39e7fedf91e0916d6ed893",
"type": "Note",
"published": "2018-09-25T03:06:47.111Z",
"attributedTo": "https://2914e630.ngrok.io/u/tester",
"content": "Just testing this, please ignore.",
"to": "https://www.w3.org/ns/activitystreams#Public"
}
This goes for both Create and Note objects. However, it doesn't address the boost issue, at least on Mastodon (if I boost this status from an account X on SERVER1, I can't see the boost from account Y on SERVER2 even though I follow X@SERVER1).
from express-activitypub.
Closed in #2.
from express-activitypub.
Related Issues (10)
- Difficulties to install on debian buster HOT 3
- Doesn't work with Mastodon correctly anymore HOT 7
- Deprecations
- Actor does not include the required `outbox` property HOT 2
- Is it a simple / light activitypub server / backend? HOT 1
- Alternate database backend? HOT 1
- "try to find [email protected] from the search in Mastodon" doesn't work HOT 2
- Doesn't work correctly over http HOT 2
- JSON is not being served from at the account's webfinger URL HOT 1
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 express-activitypub.