1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import process from "node:process";
export let bskySocialEx = (async () => {
const { default: api } = await import("npm:@atproto/api");
const service = "https://bsky.social";
const agent = await new api.BskyAgent({ service });
await agent.login({
identifier: process.env.blueskyEmail,
password: process.env.blueskyPassword,
});
const follows = await agent.getFollowers({
actor: "stevekrouse.bsky.social",
});
return follows;
})();
// Forked from @lukas.bskySocial