Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter for embeds param for getTimeline, listNotifications, etc. #3471

Open
seboslaw opened this issue Jan 28, 2025 · 0 comments
Open

Filter for embeds param for getTimeline, listNotifications, etc. #3471

seboslaw opened this issue Jan 28, 2025 · 0 comments

Comments

@seboslaw
Copy link

Is your feature request related to a problem? Please describe.

I'm building of the many "media viewers for Bluesky". In one of my apps I'd like to only show posts to users that have one or more images embedded. In my other apps I'd like to only show posts that have a video embed. Right now I have to filter these client-side, which can result in endless pagination queries if the content I'm looking for is sparse and there have been a lot of e.g. text-only posts.

Describe the solution you'd like

I'd suggest to add a "filter" parameter to each call that returns posts. The param could work similar to the "reason" param currently available in the listNotifications call. I'd like to be able to pass in one or more of the following: [Text, Image, MultipleImages, Video]

Describe alternatives you've considered

Right now I'm filtering in the client, but that comes with a lot of downsides.

Additional context

As there are currently a lot of "media viewers" popping up I think this would be really good to have. These apps might drive more outside folks to Bluesky so everyone would benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant