Twitter - share is not working properly


I have checked in debugger tools as well as in view page source, and found the meta tags as following.

<meta name="title" content="Test page" />
<meta name="description" content="content ..." />
<meta property="og:title" content="test facebook" />
<meta property="og:description" content="Testtest" />
<meta property="og:site_name" content="Test" />
<meta property="og:image" content="path/to/image" />
<meta name="twitter:title" content="Test Twitter" />
<meta name="twitter:description" content="content ..." />
<meta name="twitter:domain" content="Title" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content="path/to/image" />

But while sharing the image is not showing in twitter. As well as the title and description.

Can you please let me know, If I am missing anything here.

Thanks in advance.


The card will not show in the Share dialog on the web. It should show in the Tweet once posted on Twitter.

You’ll need to use a fully qualified https URL for images etc.


Hi Andypiper,

After tweeting also, its not showing the imageas well as its showing default tiltle as in
<meta name="title" content="Test page" /> not as per this <meta name="twitter:title" content="Test Twitter" />.

Thanks in advance.


Is there any solution for the above?

Since when I am validating the page in twitter card validator, its showing me the picture. But when tweeting its not showing me the correct info.

You can see the attachment image

Thanks In Advance.


What’s the website URL? it looks like this should work when you post the URL in a Tweet. Can you point me to a Tweet where you’ve tried it, and the Card doesn’t show?


Yes I did. Please check. Thanks.


Per the @reply on Twitter, you need to use a fully-qualified URL with a DNS address, not an IP address, in order for Cards to work. Thanks.


Hi Andy,

Thanks for the reply. Yes after changing this to DNS address, now the image and title is coming correctly. But the description is not coming from twitter:description meta tag rather its coming from og:description meta tag.

Here is the meta tags.
<meta name="title" content="Test page" /> <meta name="description" content="text ..." /> <meta property="og:title" content="test facebook" /> <meta property="og:description" content="Test Facebook Description" /> <meta property="og:site_name" content="Title" /> <meta property="og:image" content="" /> <meta name="twitter:title" content="Test Twitter" /> <meta name="twitter:description" content="Test Twitter Description" /> <meta name="twitter:domain" content="Title" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="" />

Is there anything we need to do here?

Thanks in advance.


I just tested in the validator and through a Tweet and it seems to be pulling in the correct information.


Hi If I check the url in card validator it is showing me the below errors. Please suggest me what should I do. Also, I have added twitter card but it is not fetching the twitter details while. It is fetching Facebook og tag details. I have added the twitterbot in robots.txt file also. Waiting for the answer


What errors are you seeing?


ERROR: Fetching the page failed because it’s denied by robots.txt. This is the error I am getting.


and what page are you trying to validate? it is really difficult for us to debug if you don’t share this.

#14 This is the page i am trying to validate

User-agent: Twitterbot
Disallow: /

So the robots.txt file explicitly prevents Twitterbot from crawling the site. This cannot work.


What should I give in the robot.txt file


This information is in our Troubleshooting guide. Please review that.


Thanks andypiper, But somehow I was not able to fix it. Can you give me some more hint. The url on which I want to test is


Edit the file

Delete all the lines currently in the file.

Put these lines instead:

User-agent: Twitterbot

Save the file.


It looks like you are using Meteor?

I tried fetching your page using curl:

curl -A Twitterbot -L

I do not see any meta tags in the source that is returned. Note that the cards crawler cannot execute any javascript so you need to have static tags in the right places in the source.