snarfed / bridgy

📣 Connects your web site to social media. Likes, retweets, mentions, cross-posting, and more...
https://brid.gy
Creative Commons Zero v1.0 Universal
710 stars 52 forks source link

Bluesky: publishing #1580

Closed JoelOtter closed 7 months ago

JoelOtter commented 10 months ago

We only have backfeed for bsky currently - will use this issue to track publishing work.

snarfed commented 7 months ago

This work ^ for incorporating syndication links is in. A few other things are remaining, eg #1661, but I'm ready to call v1 here done. I've posted an announcement at https://snarfed.org/2024-02-05_52058 . Congrats and thanks again @JoelOtter!

JoelOtter commented 7 months ago

Hmm did the syndication change roll out? I'm seeing the same error message, perhaps my fix didn't work after all...

JoelOtter commented 7 months ago

Still working locally! Not sure what's up

snarfed commented 7 months ago

Hmm! I thought I deployed it, but maybe not? I've deployed again, feel free to retry now.

JoelOtter commented 7 months ago

Working now! Thank you! https://www.joelotter.com/notes/2024/02/05-pacific-drive3/ https://bsky.app/profile/joelotter.com/post/3kkpgl7pjel2o

miklb commented 7 months ago

Congrats!

I confirmed I can post to Bluesky if I manually send the webmention using the curl provided with a preview on brid.gy but if I include https://brid.gy/publish/bluesky in a note it doesn't post. I don't have access to any logs on the current method I'm using for sending webmentions but it works fine with fed.brid.gy

Anything I'm missing? I'm really excited about this, thanks again for all of the hard work.

snarfed commented 7 months ago

@miklb ooh thanks for the catch! Fixed, https://brid.gy/publish/bluesky is now serving GETs, feel free to try again.

I'll also update docs soon.

miklb commented 7 months ago

@snarfed I thought a post went through last night but I posted one today and it's not syndicating. Posted fine through fed.brid.gy

Apologies, I'm sure I'm missing a step.

https://michaelbishop.me/note/1707189216

snarfed commented 7 months ago

Hmm! I don't see a webmention in Bridgy's logs from https://michaelbishop.me/note/1707189216 yet. I do see the link to https://brid.gy/publish/bluesky on that post, maybe try sending the wm again?

https://brid.gy/bluesky/did:plc:ulxk572dnu5v56yssqyupulk#publishes shows that Bridgy Publish has posted two of your other posts to Bluesky ok.

miklb commented 7 months ago

Thanks. I'm using a Netlify plugin/function for sending webmentions so I'm flying blind.

For some reason it's only picking up the first link in the note to send a webmention for. If I only include an empty link to https://brid.gy/publish/bluesky, it sends the WM and Bridgy Publish posts to Bluesky.

I've had on my to-do list to roll-my-own sending of WM so I can get the response and update the post with syndication link so this will expedite the need. Thanks for helping me debug and cheers again on all the work.

[edit] ok there is a config on that plugin that I missed that defaults to setting the limit to first link for a url. I've bumped that up and all of my notes published to Bluesky.

miklb commented 7 months ago

@snarfed would you prefer new issues for Bluesky related "issues"? Current question is about truncation brid.gy log

Invalid [app.bsky.feed.post](http://app.bsky.feed.post/) record: Record/text must not be longer than 300 graphemes"}

I'm currently using <data class="p-bridgy-omit-link" value="maybe" /> as I was debugging sending webmentions and wanted to eliminate the URL param as the culprit.

snarfed commented 7 months ago

@miklb yes, new issues please! And thanks for the report!