Hey fedi, I need some help!

I am trying to connect an application I am making with the Fediverse. When I search for an actor I am successfully able to get to the profile (yay) but when I search for a post I cannot find it.

I am receiving the GET request and am sending the response with the content type ("application/activity+json") (for example):

{
"@context":"w3.org/ns/activitystreams",
"name":"New Note",
"type":"Note",
"id":"critters.jpleite.eu/posts/1",
"attributedTo":"critters.jpleite.eu/users/1",
"content":"Hello there!",
"to":[]
}

Why would Mastodon not display the post?
The on Mastodon’s side is returning 403 action not allowed.

Thank you

@AnxiousBadgerDani(ela) :QueerCat_Lesbian: on a first look I would skip encoding the properties which are null like InReplyTo, CC, Summary and Tag.

But I don't really know much about the mastodon code-base to be certain about that being the problem.

Another thing, which I had trouble with myself on my projects, is the date representation, Mastodon can't handle (or couldn't at some point) dates with below second precision. Try to use a more common date format, and also include a timezone.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://metalhead.club/users/mariusor/statuses/114437368573415531 on your instance and quote it. (Note that quoting is not supported in Mastodon.)