+10
-8
index.php
+10
-8
index.php
···
+41
-30
lib/bskyToucher.php
+41
-30
lib/bskyToucher.php
···function getConstellationLinkData(string $target, string $collection, string $path, int $limit = 50, int $offset = 0, string $endpoint = '/xrpc/blue.microcosm.links.getBacklinks'): object|bool {···-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", ".subject.uri", 50, 0, '/links/count');+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", "subject.uri", 50, 0, '/links/count');-/*$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", ".subject.uri", 50, 0, "/links/distinct-dids");+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.like", "subject.uri", 50, 0, "/links/distinct-dids");-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", ".subject.uri", 50, 0, '/links/count');+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", "subject.uri", 50, 0, '/links/count');-/*$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", ".subject.uri", 50, 0, "/links/distinct-dids");+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.repost", "subject.uri", 50, 0, "/links/distinct-dids");-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.post", ".embed.record.record.uri", 50, 0, '/links/count');+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.post", "embed.record.record.uri", 50, 0, '/links/count');-/*$ret = $this->getConstellationLinkData($post, "app.bsky.feed.post", ".embed.record.record.uri");+$ret = $this->getConstellationLinkData($post, "app.bsky.feed.post", "embed.record.record.uri");-$ret = $this->getConstellationLinkData($post, "app.bsky.feed.post", ".reply.root.uri", 50, 0, '/links/count');+return async(fn() => $this->sanitizePost($this->getSlingshotData($rec->did, $rec->collection, $rec->rkey), true));-$slingshotRecord = $this->getSlingshotData($rec->did, $rec->collection, $rec->rkey, ['reverse' => true]);
+1
-1
templates/single.latte
+1
-1
templates/single.latte
···