cross-posted from: https://lemmy.xylight.dev/post/134835
- On v1.0.2, a new feature was added. It’s an addition to the old “resolve posts to home instance.”
- Post links will now automatically convert to Photon links, do you aren’t taken out of Photon. If the post is on a different instance, you get the option to fetch the post on your home instance.
How to implement
(For devs)
To implement fetching posts on your home instance, call the /resolve_object
endpoint, with q as the post’s ap_id
. It will return the post in the response.
Looking great, and thanks for the tip!