[AndyB] Open graph thread

[AndyB] Open graph thread 1.1

No permission to download
XF Compatibility
  1. 2.2.x
Uses first attachment in threads for open graph.

When creating a new post in Facebook or Twitter, the open graph function will use the first embedded attachment in your thread as the image for the new post.

How to use:

Copy thread URL from your forum. Now go to Facebook or Twitter and start a new post, paste your thread URL.

Questions and answers:

Q: What image is used if the thread doesn't have any attachments?
A: By default your logo is used. However this is not desirable. You should create an Open Graph specific logo which will be 200x200 and enter the path here:

Admin control panel -> Style properties -> Basic options -> Metadata logo URL
pic001.webp

I suggest uploading the image to the following directory:

data/assets/logo/open_graph.png

You will need to create the assets/logo directory as XenForo does not have those directories by default.
Author
axtona
Views
406
Extension type
zip
File size
15,7 KB
First release
Last update
Ratings 0,00 star(s) 0 ratings
More resources from axtona
Using Composer Packages
Using Composer Packages
XenForo v2 uses Composer behind the scenes to include certain packages used by the core software
Eggy SEO Autopilot
Eggy SEO Autopilot
Automated auditing, metadata, structured data, Google Search Console, IndexNow
Cool Timeline Pro - WordPress Timeline Plugin
Cool Timeline Pro - WordPress Timeline Plugin
an advanced WordPress timeline plugin that showcases your life history timeline

Latest updates

  1. changelog

    Compatible XF 2.x versions: 2.3

Similar resources

Auto OpenGraph for threads A
allows to set automatically the Open Graph image of a thread using the first image
[AndyB] All threads A
Shows all threads in selected forums.
[AndyB] Approval queue thread date A
Changes approved threads in selected forums to current date and time.
Back
Top