r4nchy if you're referring to the slug not being included after the discussion ID, that's intentional.

I think the reason for doing it like that is that it acts as a kind of link shortener.

The link should work fine even when the slug isn't included, Flarum will automatically expend it when clicked.

If you're referring to no post number at the end of the URL, that extension doesn't have the ability to share links to specific posts/page, it always shares the discussion itself.

    clarkwinkelmann yes I was talking about discussion url slug, not the specific post.

    it won't cause any issues in the future, right? if there is some kind of extension that blocks that feature of expanding url slug.

    the discussion links get directly embedded in Facebook and Twitter, so what is the use of shortened link

    The link has basically been slug-less since the first version of this extension in 2016.

    I created an issue to discuss the change FriendsOfFlarum/share-social13

    I do think it would make sense to share the full canonical URL with Facebook and Twitter since they visually truncate long links anyway and don't have character limits on URLs. However increasing the character count could have an impact on the other social networks we currently support.

    EDIT: I forgot to actually answer your last question. Right now Flarum officially supports linking to just the discussion ID and there's no plan to change it. It's used widely by extension developers to link their extension discussion threads, and we also occasionally shorten our own links on this forum by omitting the slugs. So there's no worries to have, the ability to link with either a slug or no slug is not going away anytime soon.

    • [deleted]

    How can we add WhatsApp and Viber sharing button?

      [deleted] you can't add new networks without editing the extension. PRs for additional popular networks are welcome!

      Did some one try Navigator.share() ? I tried to add this feature with codes from flarum-pwa but failed. (Doesn't complie) It will be great if this extension has this feature.

      4 days later

      automatically add "tags" as "hashtags" while sharing in twitter

      24 days later

      It's been a month, but no activity on this repo, I've created PR but no response. Shall I create a new package?

        evaleries I apologize. Most members of FoF are also part of the Flarum team, and we're currently focused on beta 14.

        I'll look at open PRs when updating extensions for beta 14

        Edit: or if I remember I can quickly merge the current PRs that only add new services, and make it extensible in some future release.

        11 days later

        On Mobile can we get it to open the facebook app instead of the webpage if the app in installed?

          MikeJones doesn't the Facebook app handle that by registering itself as a link handler for facebook.com? On what operating system did you try?

            6 days later

            I don't know if this feature request will suit here, but a print feature will be a bonus to this extension.
            A print feature where we could save the discussion in pdf file format or take a printout.

            CTRL+P works but from the second page onwards, the post scroll bar on top of each page overlaps with the discussion content

              • [deleted]

              hgence but a print feature will be a bonus to this extension.

              And SAVE AS PDF too 😁

              19 days later

              0.2.0

              Updating

              composer require fof/share-social
              php flarum cache:clear
              13 days later
              a month later

              DursunCan one of the FoF team will take a look at it when they have time...