Workflows · From Tasks · from_bluesky

Purpose

Imports data from Bluesky Social.

Currently Workflows supports the following extractions:

  1. get_author_feed
  2. get_profile

Onesecondbefore Support can add more extractions at demand.

Task Type: get_author_feed

Get author (profile) feed.

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be get_author_feed.
actorstringyesActor (handle or DID).
cursorstringnoCursor of the last like in the previous page.
filterenumerator (posts_with_replies, posts_with_media, posts_no_replies, posts_and_author_threads)noFilter.
limitinteger between 1 and (including) 100noLimit count of likes to return.

Example usage

task:
    type: from_bluesky

extract:
    type: get_author_feed
    actor: 0nesecondbefore.bsky.social
    limit: 100
    filter: posts_with_replies

deduplicate:
    type: keys
    keys:
        - post.cid

Task Type: get_profile

Get profile.

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be get_profile.
actorstringyesActor (handle or DID).
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is bluesky

Example usage

task:
    type: from_bluesky

extract:
    type: get_profile
    actor: 0nesecondbefore.bsky.social

deduplicate:
    type: drop

Details

itemdescription
APIAT Protocol SDK
Pre-formatted schemaYes. Comes with a pre-formatted and described schema.