Og Meta Tag

License Latest Stable Version Total Downloads

A Flarum extension. Add Open Graph Meta Tag to Flarum, and customize all through admin panel. Just a little helper in case someone doesn't know how to do that.

Feel free to ping me if i missed some important tag.

1

Output Example:

<meta property="og:site_name" content="Website Name">
<meta property="og:type" content="website">
<meta property="og:image" content="https://url-to-my.jpg">
<meta property="og:description" content="Flarum is the best forum in the world.">
<meta property="og:title" content="Flarum Developer">
<meta property="og:url" content="https://flarum.it">

Installation

Install with composer:

composer require justoverclock/og-meta-tag:"*"

Updating

composer update justoverclock/og-meta-tag:"*"
php flarum cache:clear

Links

Nice, but we can add these meta tags from the SEO extension. Anyway, I think it's better to add the OG image upload function.

    Mine i added them in app blade long time and they have been working fine. 😂 Although that was a bit technical, this extension can truely be helpful 👍

    Justoverclock
    hello Just!

    This extension is the same you said in this other thread, yes?
    Ando working as same but without install extension, directly paste in the header via admin.
    Justoverclock

      Walys yes is exactly the same but a little easier for someone that doesn't know how to do this. a little helper 🙂

      Justoverclock I mean to add a different preview picture for each topic, each discussion.
      The thing is that the SEO plugin puts a static image on all forum links.
      This is very sad.

      Your plugin could be very cool if you add the function of selecting a preview picture for each discussion, topic and section (each page). But if it does this automatically - you will create a revolution! I personally will promote you everywhere.

        Justoverclock Oh, I don't mean exactly that.

        I'll describe the case:
        I'm sharing a link on telegram, watsap or facebook and I get a static picture that I put in the SEO plugin. This happens even when the discussion I'm sharing has a different picture. The SEO plugin puts a static picture on everything.

        I told you to have the main picture of the discussion on the preview.

        The second plugin you discounted only does small previews on the forum, it doesn't affect previews on other sites.

        Translated with www.DeepL.com/Translator (free version)

          Waizor oh now i understand, but this feautures must be implemented in SEO extension (that is more complex), not on this little helper.