-
The specs says that one can upgrade and HTTP connection to a websocket connection to receive event streams. However I can't find any examples / reference usage of such feature. Are there any plans for this SDK to support upgrading HTTP connection to websocket? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
?? https://atproto.blue/en/latest/atproto_firehose/index.html |
Beta Was this translation helpful? Give feedback.
-
This only subscribes to the global firehose. I am interpreting from that article that we can subscribe to events from a repo or from a list. |
Beta Was this translation helpful? Give feedback.
-
You can filter events by repo. And this will be stream by specific repo :) |
Beta Was this translation helpful? Give feedback.
-
How about custom feeds? |
Beta Was this translation helpful? Give feedback.
-
@lokxii wdym? how to implement? check this https://github.com/MarshalX/bluesky-feed-generator |
Beta Was this translation helpful? Give feedback.
-
I mean I thought I can websocket connect to a feed created by someone to listen to events. So I am imagining I can somehow connect to |
Beta Was this translation helpful? Give feedback.
-
@lokxii ah no. this is not how custom feed works :( the only way is to pull posts from custom feed using rest client https://docs.bsky.app/docs/tutorials/custom-feeds#viewing-a-feed-generators-posts |
Beta Was this translation helpful? Give feedback.
-
Ohhh thx for your reply! I guess I will just spam get requests to keep getting posts. |
Beta Was this translation helpful? Give feedback.
@lokxii ah no. this is not how custom feed works :( the only way is to pull posts from custom feed using rest client https://docs.bsky.app/docs/tutorials/custom-feeds#viewing-a-feed-generators-posts