Blueksky Node

Blueksky is a (microblogging) Platform like Mastodon but it’s an invite-only social network recently I got an invite code from the official team and created My account

Currently, I am using their API to create posts and upload images via HTTP node

can I ask how you were able to get posting to work via the HTTP node? I’ve been through the documents and I can’t seem to figure it out ><

1 Like

Post a text Status

2 Likes

Post image status with text and alt message

4 Likes

i ended up figuring it out but thank you :smiley:

Thank you @mskian !

I am now looking to store identifier and password as credentials, someone have any idea of how to do it?

Thanks for pointing me the right way! There are two issues with your Create Post node though:

  1. It’s set to ‘Never Error’ which threw me off as it failed to post.
  2. You’re using quotes in the size field, which is an integer and not a string. For some odd reason this will throw an unrelated error (which was quite confusing tbh):
{
  "error": "InvalidRequest",
  "message": "Invalid app.bsky.feed.post record: Record/embed/images/0/image should be a blob ref"
}

@ivancarlos this question is not directly related to this topic - you should open a separate topic for it.

1 Like

Updated API Link Posts | Bluesky

1 Like

Thanks for this!

Would it be possible to turn it into a Community Node people can find and install?

So I confirm you need the size param with no quotes, or it will fail.

Here you have a working example (Nov 19th 2024) of reading an RSS and posting into BlueSky the content of the feed item with its image and a link (overly complex in my opinion because API must define the start and end of the link)

2 Likes

As an alternative, there is a more elegant (and less complex) way to instead of a link, show a “Website card embed”

This will post the feed title, post image, link and content

Example on how it will be displayed:

2 Likes

Perfect :100: Working :smiley:

This might be interesting for people following this topic:

I have done the initial work and created a n8n node to post messages.

3 Likes

Thank you so much!

Great one
Thanks for this nodes

FYI, someone created a community node (some endpoints are not implemented yet)

1 Like

I’m trying to install it like I would install any other node from the community on my (cloudron.io) self hosted N8N and the logs say : npm package not found

Dec 07 12:33:04 <30>1 2024-12-07T11:33:04Z - ResponseError: Error loading package "n8n-nodes-bluesky" :npm package not found

I used n8n-nodes-bluesky like I would do for any other nodes

Any idea what could be the cause ?

Edit :

If I use @muench-dev/n8n-nodes-bluesky

I get

Error loading package "@muench-dev/n8n-nodes-bluesky" :The specified package could not be loaded Cause: Class extends value undefined is not a constructor or null

Works neatly after removing some unused community nodes that were getting in conflict

Is anyone aware of how to deliver a rich text payload for a post? Specifically for hyperlinks. I’m using Muench’s node and don’t see that option yet.

Btw your node set is incredible and is finding a ton of use in my workflows! Thank you so much for what youve created!

I’ve also tried this with another template that uses http requests, but it can’t handle any rich text, including hashtagging. It does provide a way to create threads though.

1 Like