Bluesky
view release on metacpan or search on metacpan
```
Like a post publically.
Expected parameters include:
- `uri` - required
The AT-URI of the post.
- `cid`
If undefined, the post is fetched to gather this for you.
On success, a record is returned.
## `deleteLike( ... )`
```
$bsky->deleteLike( 'at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3lcdwvquo7y25' );
$bsky->deleteLike( 'at://did:plc:totallymadeupgarbagehere/app.bsky.feed.like/randomexample' );
```
Remove a like record.
Expected parameters include:
- `uri` - required
The AT-URI of the post or the like record itself.
On success, commit info is returned.
## `repost( ... )`
```
$bsky->repost( 'at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.post/3lcdwvquo7y25' );
```
Repost a post.
Expected parameters include:
- `uri` - required
The AT-URI of the post.
- `cid`
If undefined, the post is fetched to gather this for you.
## `deleteRepost( ... )`
```
$bsky->deleteRepost( 'at://did:plc:pwqewimhd3rxc4hg6ztwrcyj/app.bsky.feed.repost/3lcdwvquo7y25' );
```
Remove a repost record.
## `uploadBlob( ... )`
```perl
$bsky->uploadBlob( $data, mime_type => 'image/png' );
```
Upload a blob (file/data) to the PDS. This is a wrapper around `uploadFile`.
# Social Graph
Methods documented in this section deal with relationships between the authorized user and other members of the social
network.
## `block( ... )`
```
$bsky->block( 'sankorobinson.com' );
```
Blocks a user.
Expected parameters include:
- `identifier` - required
Handle or DID of the person you'd like to block.
## `getBlocks( ... )`
```
$bsky->getBlocks( );
```
Enumerates which accounts the requesting account is currently blocking.
Requires auth.
Expected parameters include:
- `uri`
AT-URI of the subject (eg, a post record).
- `limit`
Integer.
Default: 50, Minimum: 1, Maximum: 100.
- `cursor`
Returns a list of actor profile views on success.
## `deleteBlock( ... )`
```
$bsky->deleteBlock( 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.block/3l6oveex3ii2l' );
```
Unblocks a user by removing the block record.
## `follow( ... )`
```
$bsky->follow( 'sankorobinson.com' );
```
( run in 1.106 second using v1.01-cache-2.11-cpan-b16cb0d3907 )