Bluesky
view release on metacpan or search on metacpan
lib/Bluesky.pod view on Meta::CPAN
=back
=head2 C<getFeed( ... )>
$bsky->getFeed( 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/3l6oveex3ii2l' );
Get a hydrated feed from a feed generator.
=head2 C<getFeedSkeleton( ... )>
$bsky->getFeedSkeleton( 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/3l6oveex3ii2l' );
Get a feed skeleton (list of URIs) from a feed generator.
=head2 C<getAuthorFeed( ... )>
$bsky->getAuthorFeed( actor => 'sankorobinson.com' );
Get a view of an actor's 'author feed' (post and reposts by the author).
Expected parameters include:
=over
=item C<actor> - required
AT-identifier for the author.
=item C<limit>
Integer.
Default: C<50>, Minimum: C<1>, Maximum: C<100>.
=item C<cursor>
=item C<filter>
Combinations of post/repost types to include in response.
Known values:
=over
=item C<posts_with_replies> - default
=item C<posts_no_replies>
=item C<posts_with_media>
=item C<posts_and_author_threads>
=back
=item C<includePins>
Boolean value (false is default).
=back
An error is returned if the client is blocked by the actor.
=head2 C<getPostThread( ... )>
$bsky->getPostThread( uri => 'at://bsky.app/app.bsky.feed.post/3l6oveex3ii2l' );
Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed
requests.
Expected parameters include:
=over
=item C<uri> - required
Reference (AT-URI) to post record.
=item C<depth>
How many levels of reply depth should be included in response.
Default: C<6>, Minimum: C<0>, Maximum: C<1000>.
=item C<parentHeight>
How many levels of parent (and grandparent, etc) post to include.
Default: C<80>, Minimum: C<0>, Maximum: C<1000>.
=back
Returns an error if the thread cannot be found.
=head2 C<getFeed( ... )>
$bsky->getFeed( 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/3l6oveex3ii2l' );
Get a hydrated feed from a feed generator.
=head2 C<getFeedSkeleton( ... )>
$bsky->getFeedSkeleton( 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/3l6oveex3ii2l' );
Get a feed skeleton (list of URIs) from a feed generator.
=head2 C<getPost( ... )>
$bsky->getPost('at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2');
Gets a single post view for a specified post (by AT-URI).
Expected parameters include:
=over
=item C<uri> - required
AT-URI.
=back
( run in 0.776 second using v1.01-cache-2.11-cpan-c966e8aa7e8 )