formatting icon indicating copy to clipboard operation
formatting copied to clipboard

BlueSky links don't seem to work

Open WalsGit opened this issue 1 month ago • 2 comments

Bug Report

Current Behavior When I add a Bluesky url, no card (embed) is displayed, just a link to the post, as seen in this screen capture below.

Steps to Reproduce

  1. Create a discussion
  2. Paste a Bluesky Skeet url
  3. post the discussion
  4. See a link instead of the full embedded skeet

Expected Behavior See an embedded skeet (instead of its link)

Screenshots Image

Environment

  • Flarum version: 1.8.11
  • Extension version: 1.1.0
  • Website URL: N/A (local testing)
  • Webserver: [nginx]
  • Hosting environment: [local/docker on linux]
  • PHP version: 8.4.13
  • Browser: [Vivaldi 7.6.3797.63 (Stable channel) stable (64 bits) ]
Output of "php flarum info", run this in terminal in your Flarum directory.
Flarum core: 1.8.11
PHP version: 8.4.13
MySQL version: 8.0.30
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, random, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, bcmath, csv, exif, gd, intl, mysqli, OAuth, pdo_mysql, redis, sodium, uuid, xsl, yaml, zip, Zend OPcache, xdebug
+-----------------------------------+----------+--------+
| Flarum Extensions                 |          |        |
+-----------------------------------+----------+--------+
| ID                                | Version  | Commit |
+-----------------------------------+----------+--------+
| flarum-flags                      | v1.8.2   |        |
| flarum-tags                       | v1.8.5   |        |
| afrux-forum-widgets-core          | v0.1.7   |        |
| flarum-suspend                    | v1.8.4   |        |
| flarum-approval                   | v1.8.2   |        |
| walsgit-recycle-bin               | dev-main |        |
| walsgit-external-links-in-new-tab | dev-main |        |
| walsgit-discussion-cards          | dev-main |        |
| migratetoflarum-fake-data         | 1.4.0    |        |
| michaelbelgium-discussion-views   | v7.4.1   |        |
| justoverclock-custom-html-widget  | 0.1.4    |        |
| ianm-log-viewer                   | 0.1.1    |        |
| fof-user-bio                      | 1.4.2    |        |
| fof-upload                        | 1.8.5    |        |
| fof-formatting                    | 1.1.0    |        |
| fof-best-answer                   | 1.6.5    |        |
| flarum-subscriptions              | v1.8.1   |        |
| flarum-sticky                     | v1.8.2   |        |
| flarum-statistics                 | v1.8.1   |        |
| flarum-mentions                   | v1.8.5   |        |
| flarum-markdown                   | v1.8.1   |        |
| flarum-lock                       | v1.8.2   |        |
| flarum-likes                      | v1.8.1   |        |
| flarum-lang-french                | v4.29.0  |        |
| flarum-lang-english               | v1.8.0   |        |
| flarum-extension-manager          | v1.0.7   |        |
| flarum-emoji                      | v1.8.1   |        |
| flarum-bbcode                     | v1.8.0   |        |
| davwheat-custom-sidenav-links     | 1.0.1    |        |
+-----------------------------------+----------+--------+
Base URL: https://flarum.test
Installation path: /var/www/html/flarum
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: mail
Debug mode: ON

Possible solution(s)

Additional Context I tested the S9e Text Formatter library outside of flarum and it works with those bluesky urls.

WalsGit avatar Oct 22 '25 13:10 WalsGit

You can check which version of TextFormatter you have with composer show | grep text-formatter

You can try updating with composer update s9e/text-formatter

I believe some of the latest TextFormatter releases are not compatible with Flarum. If BlueSky is only in one of those newer releases, maybe it's not possible to use it that way. If it's not supported there's still the option to copy the template from the repository, and manually register it using a local extender.

clarkwinkelmann avatar Oct 22 '25 14:10 clarkwinkelmann

Thanks for the reply! I check the version of text-formatter and indeed, it's an older one 2.14.3(from 2 years back) and latest release of the lib is 2.19.0.

I tried to update it, but I got a ...Nothing to install, update or remove.

I'll try to see if I can figure out how to add it via local extender.

WalsGit avatar Oct 22 '25 15:10 WalsGit

The newer TextFormatter only seems to be supported by Flarum 2.0. Since that one is in beta, I'm unable to use it.

I've unfortunately not been able to use local extensions yet to get BlueSky embeds working... Any progress here by other people?

RickvanLoo avatar Nov 14 '25 16:11 RickvanLoo