When creating a new post on social media, the Open Graph Image add-on will use the first uploaded attachment in your thread as the Open Graph image.
Example:
https://permaforo.net/discussions/un-champignon-parasite-ou-pas.136/
Nicolas FR submitted a new resource:
Auto OpenGraph for threads - Automatically sets the OpenGraph image with the first image or attachment in the thread.
Read more about this resource...
Deleted member 184953
Thread
joyfreak
open graph
opengraph
social
social media
thead
xenforo.fr
A simple add-on that allows to set automatically the Open Graph image of a thread using the first image (embedded or attached) of the first thread post. Useful for sharing threads on social networks (Twitter, Facebook, etc...).
This add-on uses @JoyFreak's "[JoyFreak] Set Open Graph Image"...
Title / og:title / twitter:title on main resources page is incorrect.
Title currently only states "Site Name". Should state "Resources | Site Name", this would keep inline with what Media Gallery does.
og:title / twitter:title currently states "Site Name". Should state "Resources", this would...
I followed this resource: https://xenforo.com/community/resources/joyfreak-set-open-graph-image.8121/
My OG Tags still don't work on Twitter, FB or Discord. I have no idea what is going on.
I'll share whatever code you need, I just don't know what code you need.