tangled
alpha
login
or
join now
edavis.dev
/
bsky-feeds
1
fork
atom
this repo has no description
1
fork
atom
overview
issues
pulls
pipelines
feat(mostliked): limit to posts and likes
Eric Davis
1 year ago
e5858825
e346e51c
+1
-3
1 changed file
expand all
collapse all
unified
split
cmd
mostliked
mostliked.go
+1
-3
cmd/mostliked/mostliked.go
···
162
162
log.Println("error parsing appbsky.FeedLike")
163
163
continue
164
164
}
165
165
-
} else {
166
166
-
continue
167
165
}
168
166
169
167
draft := drafts.Get(like.Subject.Uri)
···
201
199
}
202
200
203
201
func main() {
204
204
-
conn, _, err := websocket.DefaultDialer.Dial("ws://localhost:6008/subscribe", nil)
202
202
+
conn, _, err := websocket.DefaultDialer.Dial("ws://localhost:6008/subscribe?wantedCollections=app.bsky.feed.post&wantedCollections=app.bsky.feed.like", nil)
205
203
if err != nil {
206
204
log.Fatal("websocket connection error:", err)
207
205
}