Topic-icon How Do I Include All the Open Graph Metadata

Active Subscriptions:

None
6 years 2 months ago - 6 years 2 months ago #63403 by webdevtim
You have provided an interface for including a lot of the Open Graph data, but I would like to know how to include things like video and audio, image: height, image: width, music.song, musing.album. music .radio-station, etc.

Is this possible or am I asking for the moon?

The following appears to work just fine. I checked the meta tags against Open Graph protocol and Twitter card reference and they seem to be fine.

USER wrote: image=https://www.images/socialmedia/open-graph/911tap-grobal-grass-roots-movement.jpg
url=https://www.911tap.org/
title=9/11 Truth Action Project
description=The mission of the 9/11 Truth Action Project is to build and mobilize a global grassroots movement that will expose the truths of 9/11, create a groundswell of civic support, and the restoration of our civil liberties…
site_name=9/11 Truth Action Project
type=website
article:author=911tap
twitter:creator=911tap
twitter:image:alt=9/11 Truth Action Project
twitter:description=The mission of the 9/11 Truth Action Project is to mobilize a global grassroots movement.
video=https://content.jwplatform.com/players/ENno7di6-A4cZR76S.html
audio=https://content.jwplatform.com/players/Zf88zyiO-A4cZR76S.html


The results in View Source are, except as you can see I am getting two twitter:descriptions, One generated from the description=... key and one generated from the twitter:description=... key. Everything else is OK.

USER wrote: <meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@social-media.admin"/>
<meta name="twitter:image" content="www.images/socialmedia/open-graph/911tap...roots-movement.jpg"/>
<meta property="og:image" content="www.images/socialmedia/open-graph/911tap...roots-movement.jpg"/>
<meta property="og:url" content="www.911tap.org/"/>
<meta name="twitter:title" content="9/11 Truth Action Project"/>
<meta property="og:title" content="9/11 Truth Action Project"/>
<meta name="twitter:description" content="The mission of the 9/11 Truth Action Project is to build and mobilize a global grassroots movement that will expose the truths of 9/11, create a groundswell of civic support, and the restoration of our civil liberties…"/>
<meta property="og:description" content="The mission of the 9/11 Truth Action Project is to build and mobilize a global grassroots movement that will expose the truths of 9/11, create a groundswell of civic support, and the restoration of our civil liberties…"/>
<meta property="og:site_name" content="9/11 Truth Action Project"/>
<meta property="og:type" content="website"/>
<meta property="og:author" content="911tap"/>
<meta name="twitter:creator" content="@911tap"/>
<meta name="twitter:image:alt" content="9/11 Truth Action Project"/>
<meta name="twitter:description" content="The mission of the 9/11 Truth Action Project is to mobilize a global grassroots movement."/>
<meta property="og:video" content="content.jwplatform.com/players/ENno7di6-A4cZR76S.html"/>
<meta property="og:audio" content="content.jwplatform.com/players/Zf88zyiO-A4cZR76S.html"/>
<meta property="fb:app_id" content="311988672497703"/>
<meta property="og:locale" content="en_gb"/>

Last edit: 6 years 2 months ago by webdevtim.
The topic has been locked.
Support Specialist
6 years 2 months ago #63415 by mel

The results in View Source are, except as you can see I am getting two twitter:descriptions, One generated from the description=... key and one generated from the twitter:description=... key. Everything else is OK.


It looks like the inclusion of two twitter:description tags is a bug in our code that you've found. I'm looking into how to fix this now. Alex is working on another critical bug for Joomla 3.8.4 support that we're probably going to have to put a bug fix release for. I'll try to wrap it into that release if I can do the changes quickly.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 2 months ago #63416 by webdevtim
Thanks for the really quick response Melissa. I will wait for the next release. I don't think it is a game changer right now, except Twitter will probably choose the first twitter: description tag it finds. I might try changing the order and see if I can get the declared twitter:description tag to get added to the top of the list.
The topic has been locked.
Support Specialist
6 years 2 months ago #63422 by mel
I have the new changes running against my automated test suite right now. We'll be doing a new release in the next day or two, so it should be included.

-Melissa
The topic has been locked.
Active Subscriptions:

None
6 years 2 months ago #63423 by webdevtim
Wow, you guys are tireless.
The topic has been locked.