Announcement

Collapse
No announcement yet.

Open Graph Meta Tags for Facebook and Twitter and all social media sites

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #76
    I'm done and ready to test it. tearjerkers, please PM me the Order ID or your PayPal email so I can locate your order in my system and re-open it and send you an email containing the download link.

    Here's the detailed changes I did which I will also add in the first post once I release it.

    v1.5
    • Added support to use the Group channel icon when a Group channel page is shared or when a post in a Group which has no image attachment is shared.
    • Added support to use the Blog channel icon when a Blog channel page is shared or when a post in a Group which has no image attachment is shared.
    • To support Facebook requirement of minimum image dimensions of 200x200, the mod checks the image dimensions and if less than 200x200, it skips the image and then checks the next available image. For example, let's say a Group post has 2 image attachments, the first attachment has 190x190 dimensions and the second attachment is 300x300. The mod will skip the first attachment and picks up the second one. If both attachments are less than 200x200, the mod will try to use the Group channel icon. But if the icon is also smaller than 200x200, then the mod will choose the last available image which is the configured default image. The mod doesn't check the size of this default image anymore since this is the last fallback image. So make sure the default image is larger than 200x200. This behavior applies to forum, blog, group and article posts but using the channel icon only applies to Blog and Group posts. For image attachments, vB generates 3 sizes: thumbnail, medium and large. The mod always use the large size.
    • Changed the Open Groph Meta tags to be only generated on the page when there is no user session (meaning user is not logged in). When you share a link to Facebook and other social media sites, their scraper/crawler is not logged in to your forum. So it makes more sense to only generate the Open Graph Meta tags for logged out users. This means that there's a slight performance improvement for logged-in users since the mod no longer renders those meta tags on load of every page.
    Note that Facebook and other social media sites cache the shared link on their servers. So if a link has been shared before this mod update, you'll have to clear the cache on their servers. For Facebook, they provide a tool to do that.



    Enter a link and click Debug button to see the link preview with thumbnail and the Open Graph meta tags that Facebook sees. You will need to click Scrape Again button if it shows the link has been scraped long time ago to fetch the latest data.
    Last edited by glennrocksvb; 11-03-2023, 10:44 AM.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment

    Users Viewing This Page

    Collapse

    There is 1 user viewing this forum topic.

    • Guest Guest

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"