Scroll to top

Dec 6, 2023

The home on the web of Colin Walker.
Find out more on /about, say /EHLO, or tune in to the daily RSS feed.

Dec 6, 2023#p2

I'm trying to flesh out my Bluesky integration but can't seem to get replies to a post.

Sending a GET to com.atproto.repo.getRecord brings back the post details, e.g:

object(stdClass)#4 (3) {
  ["uri"]=>
  string(70) "at://did:plc:pn5qdowybxjewkcq6zzenvtq/app.bsky.feed.post/3kfimv33rdt2b"
  ["cid"]=>
  string(59) "bafyreib3igocz7bo6g6m755luxer5usgippetm5k3xohfgqvzjtq64cqpy"
  ["value"]=>
  object(stdClass)#6 (4) {
    ["text"]=>
    string(185) "I'm wondering about having an option on my blog that allows me to control which posts get sent here. Maybe a category I can choose. Not everything benefits from being cross posted. 🤔"
    ["$type"]=>
    string(18) "app.bsky.feed.post"
    ["langs"]=>
    array(1) {
      [0]=>
      string(2) "en"
    }
    ["createdAt"]=>
    string(24) "2023-12-01T15:49:18.627Z"
  }
}

There is a reply to that post but it is not indicated here. I found details of the app.bsky.feed.getPostThread endpoint but can't get that to work either.

Must be doing something wrong and not understanding it properly.