I can't use twitter cards because of internationalization and hashtag issues


#1

Hello,

My website is http://taoscopy.com which provides comments on the I Ching in French and English. So, whenever I update a comment I post on twitter with the accounts @Taoscopy (linked to http://taoscopy.com/en) and @Taoscopie (linked to http://taoscopy.com/fr). They are submitted to the hashtags #iching (en) and #yijing (fr). The update rate is variable but there are several updates a month.

I’m organized that way because the users don’t want to read French tweets if they are English speaking and vice-versa.

Now, I’ve been testing twitter cards, I’ve tried the French side first and it validated http://taoscopy.com with @Taoscopie. When I tried with @Taoscopy it told me the site was already validated.

So the result is that I can post summaries with @Taoscopie but not with @Taoscopy, either with the metas ‘twitter:creator’ or ‘twitter:site’.

Since the English users don’t want to see French language tweets I can only post summaries in French only, otherwise they would suscribe to @Taoscopie instead of @Taoscopy and everyone would be confused. But, whenever I add the hashtag #yijing or #iching to the tweet then the tweet is not visible for these tags, so these cards are totally useless to me.

So, I have removed twitter cards from my site and will continue to copy-paste the updates from the site.

Thanks for your attention.


#2

Hi Taoscopy,

A card is tied to a domain, not a Twitter account. That is why you are getting the “card already validated” message. Anyone who tweets a URL to your domain will have a summary card attached to their tweet.

Since your URLs for each language are unique (http://taoscopy.com/en/doc/understanding-the-oracles-answer/ and
http://taoscopy.com/fr/doc/comprendre-la-reponse-de-loracle/ go to the same article, but are in different languages), you should be able to place the language specific meta tags on each page without an issue.

I see that your site is built on Wordpress though, so if you are using a plugin for Cards instead of implementing them yourself, please let me know so that we can investigate if that’s the reason for any restrictions in functionality.


#3

Hello Jon,

Thanks for checking the issue. I removed the metas because I didn’t think someone would look into it. So, I have replaced them and made another test. It is weird because I get different results than before!

Here are the urls for the French and English pages:


Here are the metas for the French page:

<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@Taoscopie">
<meta name="twitter:creator" content="@Taoscopie">
<meta name="twitter:title" content="Hexagramme 55 Trait 4">
<meta name="twitter:description" content="On est appelé à poursuivre les vérifications.">
<meta name="twitter:image" content="http://taoscopy.com/fr/tirage.php?tirage=787988&echelle=10">

Here are the metas for the English page:

<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@Taoscopie">
<meta name="twitter:creator" content="@Taoscopy">
<meta name="twitter:title" content="Hexagram 55 Line 4">
<meta name="twitter:description" content="One is called to continue the checks.">
<meta name="twitter:image" content="http://taoscopy.com/en/tirage.php?tirage=787988&echelle=10">

So, I have twitted these pages, respectively with @Taoscopy and @Taoscopie, the result was that I got @Taoscopie to display correctly with the image but no summary with @Taoscopy. Now the result is that I get @Taoscopy display a summary without the image and @Taoscopie does not show the summary.

Here are the tweets:

@Taoscopie:
https://twitter.com/Taoscopie/statuses/458525833150595072

@Taoscopy:
https://twitter.com/Taoscopy/status/458526238886600704

Obviously, I need to remove the twitter:site tag to avoid the confusion between @Taoscopie and @Taoscopy, would that work without it? When I tried the other day it didn’t but it seems that I can’t get reliable results now.

Thanks again,

Dominique Lorre


#4

Also, I’m not using a plugin, I added the twitter cards directly to my theme.
Dominique


#5

Alright, the summaries have appeared after I rebooted my computer, it seems that there can be a long delay between the creation of the tweet and the apparition of the summary, issue solved on my side. Thanks.

Dominique


#6

Glad to hear it, Dominique! The attachment of a card should be immediate, although sometimes there is an unexpected delay. Usually a person tweeting from Twitter.com will have to refresh their browser to see a card attached to a tweet that was just added to their timeline. However, all followers should immediately see the card without a problem.