Open graph thread

Open graph thread 1.0

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

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.jpg


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
AndyB
Views
189
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AndyB

Top