Post Am5tL2bx3CKFngWWoa by hongminhee@fosstodon.org
(DIR) More posts by hongminhee@fosstodon.org
(DIR) Post #Am5tL2bx3CKFngWWoa by hongminhee@fosstodon.org
2024-09-17T09:27:56Z
0 likes, 0 repeats
Quick question: would it be okay to embed a collection object in the `as:replies` property of `as:Note` & `as:Article` objects instead of putting the URL to the collection in the `as:replies` property? In theory, it would be okay, but would the actual implementations handle it well?#fedidev #ActivityPub
(DIR) Post #Am5tL3IqTidXwiamfo by hongminhee@fosstodon.org
2024-09-17T09:34:21Z
0 likes, 0 repeats
One of the benefits of #Fedify is that you don't have to worry about whether a property of an Activity Vocabulary object has a URL or embeds an actual object. If you need an object, you can call the `getObject()` method (which will fetch a remote object if necessary). If you need a URI, you can access the `objectId` property.https://fedify.dev/manual/vocab#object-ids-and-remote-objects#ActivityPub #fedidev
(DIR) Post #Am5tL3QI22akJo4jHE by silverpill@mitra.social
2024-09-17T12:16:43.615418Z
0 likes, 0 repeats
@hongminhee It is okay to embed this collection, for example Mastodon does that.