snarfed / bridgy

đŸ“£ Connects your web site to social media. Likes, retweets, mentions, cross-posting, and more...

Home Page:https://brid.gy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow publishing bookmarks to Twitter (and others?)

anarchivist opened this issue · comments

Hi there - thanks for Bridgy! I'm seeing issues with some notes bookmarks on my site not posting to Twitter, but successfully posting to Mastodon for the same post.

Example: https://matienzo.org/2021/166/hudson/ (there's a lingering syndication link for posting to the Bridgy publish endpoint for Twitter)

What sticks out to me from the failed Twitter post is:

I 2021-06-17 18:14:27.505367+00:00 Object type(s) {'h-entry'} not supported; error=Cannot publish type=activity, verb=post to Twitter; trying next.
I 2021-06-17 18:14:27.505720+00:00 Could not find content in <a href="http://microformats.org/wiki/h-entry">h-entry</a> or any other element!

The h-entry seems to be recognized by the log, however.

Edit: This seems to specifically impact my posts that are marked up as bookmarks, because another recent post to Twitter succeeded through Bridgy.

Thanks for filing, and for the detailed info! And sorry for the unhelpful error message. Looks like this is an inconsistency on our end, we currently let you publish bookmarks to Mastodon but not to Twitter. We should allow them to Twitter too. I'll do that!

Deployed a fix, feel free to try again.

Worked like a charm. Thanks, @snarfed!