Skip to content

Whats the best way to add custom reactions to each post in a custom app view? #1285

Answered by bnewbold
viksit asked this question in How to do it?
Discussion options

You must be logged in to vote

Good question! There are likely multiple ways this could be accomplished, and we don't yet have enough experience with feature extensions to existing Lexicons to recommend a best practice. Creating an entirely new application/modality would be relatively more straight-forward.

One way this could work:

  • create a new record type under a separate namespace, eg, io.viksit.feed.reaction. the schema would be similar to app.bsky.feed.like, but would include an emoji field (or string, or whatever you are thinking)
  • implement a small AppView which subscribes to the global BGS firehose, filters to only records of this type, and maintains a database of reactions by subject (AT-URI). could be a SQL da…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bnewbold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants