XF 2.0 Open Graph logo for share on Facebook

There was a very good and free opengraph addon on XF1.5 wich let you upload an image for a thread you want to share on social networks. can we find this addon for XF2 now ??

Thank you !!

You can do it ! Why you do not try?
But if you do not want to learn "how you can do it" I will create "OG image" add-on for you do not worry.
 
We need to add:
Code:
<meta property="fb:app_id" content="1234567XXX" />
in <head>


For example:

Appearance/Template modifications --> New template modification (in debug mode)

Template: PAGE_CONTAINER
Modification key: add_fb_app_id
Description: Add fb:app_id to forum
Search type: simple replacement
Find:
Code:
    <xf:if is="!$head.meta_site_name && $siteName is not empty">
Replace:
Code:
    <meta property="fb:app_id" content="19741573085XXX" />
    <xf:if is="!$head.meta_site_name && $siteName is not empty">

enjoy!
 
Last edited:
We need to add:
Code:
<meta property="fb:app_id" content="1234567XXX" />
in <head>


For example:

Appearance/Template modifications --> New template modification (in debug mode)

Template: PAGE_CONTAINER
Modification key: add_fb_app_id
Description: Add fb:app_id to forum
Search type: simple replacement
Find:
Code:
    <xf:if is="!$head.meta_site_name && $siteName is not empty">
Replace:
Code:
    <meta property="fb:app_id" content="19741573085XXX" />
    <xf:if is="!$head.meta_site_name && $siteName is not empty">

enjoy!

Thanks!

This helped me get rid of that annoying error when scraping my site.
 
We need to add:
Code:
<meta property="fb:app_id" content="1234567XXX" />
in <head>


For example:

Appearance/Template modifications --> New template modification (in debug mode)

Template: PAGE_CONTAINER
Modification key: add_fb_app_id
Description: Add fb:app_id to forum
Search type: simple replacement
Find:
Code:
    <xf:if is="!$head.meta_site_name && $siteName is not empty">
Replace:
Code:
    <meta property="fb:app_id" content="19741573085XXX" />
    <xf:if is="!$head.meta_site_name && $siteName is not empty">

enjoy!

I added fb app id and using xenmade seo 2.

but the og image is not changed with thread attachment image.

what i need to do more in order to get it working.
 
Question: My images appear blurry when shared. It doesn't matter if I am using "summary" or "summary_large." Any tips on this?
If you are using Firefox then it's not you nor your images.
Facebook is making all images blurry for Firefox users.

Try with different browser to ensure it's not you.
 
Top Bottom