Samuel
the likes-of-reposts thing is all on protocol btw!! Likes and reposts now have a “via” field that points at the repost record Hoping to see some cool visualisations and stuff!
6 22 147
Barry Dorrans
What does the URI and CID point to in reasonRepost? The repost record, or the post the repost is referring to?
1 2
Barry Dorrans
@samuel.bsky.team So to get the process clear, a repost would take a FeedViewPost, check the reason is a repost, and then fill out the via strong reference with the repost record under reason in the FeedViewPost? Can't do it with just a post record strong reference?
1 1
Samuel
@samuel.fm
yes I don’t understand what you mean by post record strongRef. which post? likes/reposts already point to the post
1
Barry Dorrans
So I have a repost method that just takes the aturi/cid of a post. Nothing more, so no reasons etc. are available with that.
1 1
Barry Dorrans
@samuel.bsky.team stupid question. If I have the at-uri of a post, for example if I saved or bookmarked one then there’s no way to get the feed view post in under to populate via because it’s now detected from the feed you saved it from. Is that correct?
1 2
Samuel
yeah I think so? don’t quite understand what you’re trying to do lol
1
Barry Dorrans
Trying to figure out how reposting works in the official client, which I guess is off feeds and nothing else
1
Barry Dorrans
But search gives me a PostView right? Not a FeedPostView? And I can repost from there but the it won’t get the right information for a via?
1 1
Samuel
yeah search doesn’t give you reposts, only feeds/profile feeds this is only when you see a post that has been reposted by someone else. if it’s a standalone post you just leave the via field blank
1