Topic-icon og:url giving wrong URL to Facebook

Active Subscriptions:

None
5 years 6 months ago #64720 by meda
Hi team -

Have the JFBConnect working well.

One problem that has come up is I get a 404 URL when a link is shared to Facebook.

In troubleshooting, it looks like the og:url is wrong. It's giving this:
<meta property="og:url" content="www.meda.org/http://meda.org/our-work/where-we-work/global"/>

Note the double url in the quotation marks. I think it's sharing the HTTPS and the HTTP in one statement.

How do I turn off one of those URLs? Can't find the setting.

Steve
The topic has been locked.
Support Specialist
5 years 6 months ago #64722 by mel
In Social Meta > Configuration area, do you have any values set in the "Defaults" setting?

In the JFBConnect backend > Configuration > Advanced section, can you enable the Social Toolbar option? Then on the front-end of your website, use the Social Toolbar at the bottom and click the "Social Meta" button. Let me know what the og:url Origin column value is. This will help us figure out how JFBConnect is building up that strange value.

-Melissa
The topic has been locked.
Active Subscriptions:

None
5 years 5 months ago #64770 by meda
Hi there -

Just circling back -

There are no values in the Defaults setting.

I enabled the social toolbar, but nothing appeared on the front end of the site.

Here's the block that is being generated. Double URL in og:URL is still there.
Hoping I get it to stop inserting: www.meda.org/

<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content=""/>
<meta name="twitter:title" content="About MEDA"/>
<meta property="og:title" content="About MEDA"/>
<meta name="twitter:description" content="Partnerships, Results, Impact Creating business solutions to poverty MEDA is an international economic development organization whose mission is to create business solutions to poverty. Founded in 1953 by a group of Mennonite business professionals, we partner with the poor to start or grow small and medium-sized businesses in developing regions..."/>
<meta property="og:description" content="Partnerships, Results, Impact Creating business solutions to poverty MEDA is an international economic development organization whose mission is to create business solutions to poverty. Founded in 1953 by a group of Mennonite business professionals, we partner with the poor to start or grow small and medium-sized businesses in developing regions..."/>
<meta name="twitter:image" content="www.meda.org/images/meda/Misc/Moz-ManCarving.jpg"/>
<meta property="og:image" content="www.meda.org/images/meda/Misc/Moz-ManCarving.jpg"/>
<meta property="og:image:width" content="300"/>
<meta property="og:image:height" content="254"/>
<meta property="og:url" content="www.meda.org/http://meda.org/about-meda"/>
<meta property="og:type" content="article"/>
<meta property="fb:app_id" content="2276030322424248"/>
<meta property="og:locale" content="en_gb"/>
<meta property="og:site_name" content="MEDA"/>
The topic has been locked.
Support Specialist
5 years 5 months ago #64773 by alzander
The social toolbar should display in the bottom left of each page of your site when you're logged in as a super admin. Can you try again when logged in that way? If it still doesn't show, please go to the JFBConnect admin area and click the 'Options' button in the top right. In the permissions area, make sure that "Post on Social Network" is "Allowed" for the super users account.

Seeing the details from the Social Meta section of the social toolbar will really help us investigate further as this isn't something we've seen before.

Just to note, it's also very strange that the double URL starts with https and then the duplicate has http. Unsure what's causing this, but wanted to note the difference in the scheme for when we can investigate further.

Thanks,
Alex
The topic has been locked.