Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Open Graph not working

10 years 7 months ago
  • Jan's Avatar
    Topic Author
  • Jan
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Expired

On my site open grpah for jomsocial isn't working for some reason.
When I try to post a link to Facebook it won't pull the metedata or the image.
Say when I want to share 1 of my events it will post just my site name without the image.

Can you advice please?

The following user(s) said Thank You: Theresa
10 years 7 months ago
Licenses:

Hi Jan,

do you mean Open Graph - JomSocial plugin? this plugin not belong to Jomsocial.
Please contact that plugin provider for support.

Regards,
Albert

10 years 7 months ago
  • Jan's Avatar
    Topic Author
  • Jan
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Expired

no
I"m not talking about a plugin
I can see in the code the markup for open graph but FB isn't pulling it of the site

10 years 7 months ago
Licenses:

Hi Jan,

I got what your mean. I confirmed this is a valid bug. please wait for the fixes.

Regards,
Albert

The following user(s) said Thank You: Theresa
10 years 7 months ago
  • Jan's Avatar
    Topic Author
  • Jan
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi Albertus
It seem not to work on whole site.
It used to work though.
I thought it's just jomsocial as I post directly from easy blog to FB and this is working.
So it might be not your fault

10 years 7 months ago
Licenses:

Hi Jan,

I still not sure about this. but, yes. Jomsocial put open graph meta tag at events page.
our developer will investigate it more deeper.

Regards,
Albert

10 years 6 months ago
  • Jan's Avatar
    Topic Author
  • Jan
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Expired

Any update on this please?

10 years 6 months ago
Licenses:

Hi Jan,

sorry for waiting, our developer still on it. I will get back to you again after the developer fix this issue.

Regards,
Albert

10 years 6 months ago
Licenses:

Hi Jan,

here the fix:
1. edit components/com_community/helpers/head.php
2. at line 127 you can see

self::addOpengraph('og:image', $image, true);
replace it with
self::addOpengraph('og:image', str_replace(JUri::root(true),'',JUri::root()). $image, true);

Regards,
Albert

10 years 6 months ago
  • Jan's Avatar
    Topic Author
  • Jan
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Expired

Hi Albertus
I did that change but no luck

10 years 6 months ago
Licenses:

Hi Jan,

1) I got fatal error at profile page. related with 3rd party plugin: My Favourite Listings, So I disabled it.
2) I reopen this issue again to our developer.

sorry for this inconvenience

Regards,
Albert

10 years 3 months ago
Licenses:

Hi Jan,

here the fix. edit /components/com_community/helpers/head.php, at line 127 change the code from

self::addOpengraph('og:image', str_replace(JUri::root(true),'',JUri::root()). $image, true);
to
self::addOpengraph('og:image',$image, true);

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW