i wanted to add twitter share button on my website to share content … and also twitter card. i added the meta tags . this is share button:

 `<a  href="https://twitter.com/share?url=http://176.32.230.11/trialandtest.com/" class="twitter-share- button" data-url="http://176.32.230.11/trialandtest.com/" data-via="dasf" data-hashtags="iwishican" data-show-count="false">Tweet</a>```

these are the meta tags i added for twitter card

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@nytimes">
<meta name="twitter:creator" content="@SarahMaslinNir">
<meta name="twitter:title" content="When Great Minds Don’t Think Alike">
<meta name="twitter:description" content="How much does culture influence creative thinking?">
<meta name="twitter:image" content="http://176.32.230.11/trialandtest.com/assets/images/profile-img.jpg">

and this is my website link:

http://176.32.230.11/trialandtest.com/

i’ll be gratefull if someone could assist me as to where i am going wrong cause on validation twitter says my url is whitelisted but when i share it does not share the content on the preview window and shares the old one.

thanks for you time and patience

In order for a card to be displayed, you must use a fully-qualified domain name, not a dotted IP address. Also note that cards do not display in the Tweet composer window, only in the final rendered Tweet.

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