Browser title used instead of twitter:title in summary card


#1

Hello,

I am having an issue with a Twitter Summary Card where the generic browser title is being used in the twitter sharing rather than the twitter:title content.

In the source, the meta info looks as expected like this…

<title>browser title test :: websitename</title>
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@blahblahblah">
<meta property="twitter:title" content="title test twitter">
<meta property="twitter:description" content="description test">
<meta property="twitter:image" content="blahblahblah">

But when I click the twitter share link (handled via sharethis), I always get the generic browser title (in the example above that would be - browser title test :: websitename).

What we’d want from the above example is: title test twitter

I also tried meta name= instead of meta property= but that didn’t help either.

The card validates in the validator, giving the following info:
INFO: Page fetched successfully
INFO: 20 metatags were found
INFO: twitter:card = summary_large_image tag found
INFO: Card loaded successfully

Any tricks to forcing the twitter:title content to be used when sharing?

Thanks for any help.


#2

Do you mean that “browser title test” appears in the share (Tweet compose) box, or in the final posted card? The card is not rendered until the Tweet is posted.


#3

Hi Andy,

Thanks for the help.

“browser title test :: websitename” appears in the share box shown here

.

I would have thought the twitter:title would go here not the generic browser title?

After sharing, that generic browser title also shows above the image shown here

.

Likewise, I would have thought the twitter:title would be used above the image if specified and not the generic browser title.

The twitter:title (in this case “browser title test via @…) is displayed as expected under the image after sharing.

Is that just how it works?

Thanks Andy.


#4

In both cases, that’s the name of the page rather than the title of the card, so that is expected behaviour. The card is the piece rendered below the Tweet, and that is where that meta information is being displayed.


#5

Ah I see! Ok thanks so much for clarifying that Andy. I appreciate your help.


#6

Ah I see! Ok thanks so much for clarifying that Andy.

I appreciate your help.

Cheers for looking at this.


#7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.