Bluesky is an open network. With one account, you can access both an easy-to-use social network and a shared identity across the entire social internet.
Emit new event when someone follows the specified account. Requires the account ID as a prop to monitor followers for that account. See the documentation.
Emit new event when an author creates a post. Requires the author id as a prop to track posts from a specific author. See the documentation.
Emit new event when posts appear in the following
feed. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bluesky: {
type: "app",
app: "bluesky",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bsky.social/xrpc/app.bsky.actor.getProfile?actor=${this.bluesky.$auth.did}`,
headers: {
Authorization: `Bearer ${this.bluesky.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})