Topic-icon open graph settings issues

Active Subscriptions:

None
8 years 2 months ago #57350 by Reago Srl
Hello,
we’re having some issues with the pages of our websites that are shared on Facebook (or in general on social networks),

using the fb debug tool (developers.facebook.com/tools/debug)

-we can see that if we type the url of the mail page of jomsocial on our website (www.livinplay.com/social) the properties that are shared are not properly set:

the description is taken from another component (the cookie policy alert/manager)

- we are having a related problem also with the users profile page (my profile page and another user profile page) where we have no images shared and the same wrong description as the jomsocial main page description wrote above.

- exactly the same problem also when we share jomsocial events url, no image/wrong description.


- when we share groups pages all seems to work properly, the image is taken from the cover of the group page, the description is an extract of the group description.


How can we fix these issues?

waiting for your reply, all the best.
The topic has been locked.
Support Specialist
8 years 2 months ago #57355 by mel
Replied by mel on topic open graph settings issues
JomSocial does also add it's own Open Graph tags to the pages and we've seen that the URLs on some of those tags are relative URLs and not the full ones. Facebook requires a full URL value instead of a relative URL. For instance, on your www.livinplay.com/social page, I see some see_also tags from JomSocial that are relative. I reran that link through the Facebook Open Graph Debugger and re-scraped the pages - there is an error on the page so Facebook just makes the best guess on tags at that point. On a random profile page , the see_also and image tags are also incorrect.

If you look at the page source, the block of our tags that JFBConnect adds is right after the jfbc.init(); call on the page. My advice is to look at the source for each of the pages that you're having problems with and see if the problems are coming from JFBConnect open graph tags or JomSocial's. If JomSocial, they are adding the tags to the pages in the /components/com_community/helpers/head.php file. You can try commenting out the addOpengraph method calls and then re-scraping your pages to see if there are any improvements.

If you still think the issue is JFBConnect after trying this, please let us know.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 2 months ago #57365 by Reago Srl
we'll provide to upgrade to the latest version jomsocial and all the other components that are running in the webapp, maybe is a problem related to the fact that an older version of jomsocial is actually istalled, if we will still have these issues we'll try to manage the source for these pages to comment the opengraph tags generated by j.s.

we'll write here if the problem we'll not fixed after that.

Thanks a lot for your reply Melissa!
Have an awesome day!
The topic has been locked.
Support Specialist
8 years 2 months ago #57371 by mel
Replied by mel on topic open graph settings issues
Yes, please let us know if you continue to run into the issue with the newer version. And if you do have to comment out the code, whether that fixes the issue as well. If it persists in the newer version of JomSocial and is fixed with the code change, we can contact the JomSocial developers to help get it resolved on their end.

-Melissa
The topic has been locked.