Topic-icon Twitter card tag set twice

Active Subscriptions:

None
7 years 1 month ago #60980 by agould
I have been configuring the Open Graph settings, and have published the Easyblog extension for the layout 'post'.

When I preview this, the social debug page reports the error "The twitter:card tag is set 2 times on this page. It should only be set once."

How can I correct this please?
The topic has been locked.
Support Specialist
7 years 1 month ago #60981 by mel
Replied by mel on topic Twitter card tag set twice
Could you give me a specific URL that you're seeing the error on? I only see one instance of the twitter:card tag in the source on your homepage (the most recent page that you ran Autotune on today) and don't see the error on socialdebug for that URL either.

Generally, if there's another extension setting the tag in addition to JFBConnect, you can either disable the tags being set by that extension or by JFBConnect. In JFBConnect backend > Social Meta > Configuration, you can enter tags to skip in the "Skip Tags" textbox. Just put something like "twitter:card", etc in there.

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago #60983 by agould
Replied by agould on topic Twitter card tag set twice
Thanks Melissa.

Here is an example url:

www.dental-channel.co.uk/blog/entry/usin...atient-communication

This is an Easyblog post. I cannot find an option regarding tags is the EasyBlog settings. However, I expect the issue relates to EasyBlog.

EasySocial sets Opengraph tags, but disabling that feature does not fix the issue.

Adding 'twitter:card' to the Skip Tags box removes one of the error messages (it was displayed twice). However it then removes the Twitter card tag for the home page, so I have removed the entry.

There is also a warning:
"twitter:description Twitter card tag is incorrectly using property reference instead of name. It should be set as
<meta name="twitter:description" content=" ...(text removed)" />
The topic has been locked.
Support Specialist
7 years 1 month ago #60990 by mel
Replied by mel on topic Twitter card tag set twice

Adding 'twitter:card' to the Skip Tags box removes one of the error messages (it was displayed twice). However it then removes the Twitter card tag for the home page, so I have removed the entry.

Well, if it is just the home page that needs the tags, then you can keep it in the skip tags and just use the SCOpenGraph easytag on the home page content, like the following:
{SCOpenGraph twitter:card=summary}. In the next release (currently in testing before I put it out), we've added a new feature that you can exclude JFBConnect from setting the tags for selected extensions. This could help too in the future.

There is also a warning:
"twitter:description Twitter card tag is incorrectly using property reference instead of name. It should be set as
<meta name="twitter:description" content=" ...(text removed)" />

Well there's nothing that I can do about that one, since EasyBlog is setting the tag incorrectly with
<meta property="twitter:description" content=" ...Hello All....
instead of
<meta name="twitter:description" content="...Hello All...
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago #60994 by agould
Replied by agould on topic Twitter card tag set twice
Thanks for letting me know. I will have a look at the pages and see if adding the tag to each one makes more sense. This isn't a major issue, and the feature in the new release sounds great.

I will let Stackideas know about the ES bug!
The topic has been locked.
Support Specialist
7 years 1 month ago #61001 by alzander
Replied by alzander on topic Twitter card tag set twice
Glad we could help explain. If you need anything else, don't hesitate to get in touch.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/extensi...l-display/jfbconnect

Thanks,
Alex
The topic has been locked.