分享twitter链接没有链接?

时间:2014-01-21 06:49:20

标签: html

我正在我的页面中建立一个推特链接,如下所示

<a class="twitter-share-button shareButton twitter popup" href="http://twitter.com/share?text=I just entered the GOLD RUSH competition to win $10,000 Bullion! Enter now for your chance to win! http://goo.gl/2Z58q9"  data-text="I just entered the GOLD RUSH competition to win $10,000 Bullion! Enter now for your chance to win!" data-count="none" data-url="https://www.facebook.com/DiscoveryChannelAU" title="TWEET" target="_blank"><img src="32919/images/twitter.png"  alt="" /></a>

但是,每次打开Twitter共享链接时,它都会显示一个页面,其中也显示当前页面URL。我不想分享我的网址(媒体......等)。 这可能吗?

1 个答案:

答案 0 :(得分:1)

试试这个:

<a href="https://twitter.com/share?url=YOUR-URL-HERE&text=YOUR-TEXT-HERE"><img src="TWITTER ICON IMAGE PATH" alt=""></a>