I’m trying to use the iFrame version of the tweet button, and I’d like a suggested tweet where Twitter doesn’t add a URL at the end.
Using the javascript version, I’ve successfully used code like this:
<a href="http://twitter.com/share" class="twitter-share-button" data-text="Here is a tweet that I'd like not to have a link at all!" data-count="vertical" data-url=" " data-counturl="http://google.com">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
And I’ve used just a plain URL version like this:
<a href="http://twitter.com/share?text=Here+is+a+tweet+that+I%27d+like+not+to+have+a+link+at+all!&counturl=http%3A%2F%2Fgoogle.com&url=">Here is a tweet that I'd like not to have a link at all!</a>
I’ve done both of those by passing a blank url parameter, and Twitter responds great. But using the iFrame version, it doesn’t seem to work! Any ideas on how to get this working?
Here’s my code:
<iframe allowtransparency="true" frameborder="0" scrolling="no" src="//platform.twitter.com/widgets/tweet_button.html?text=Here%20is%20a%20tweet%20that%20I%27d%20like%20not%20to%20have%20a%20link%20at%20all%21&count=vertical&counturl=http%3A%2F%2Fgoogle.com&url= " style="width:55px; height:62px;"></iframe>