New tweet button - is t.co mandatory?

5 views
Skip to first unread message

pthomsen

unread,
Aug 12, 2010, 4:21:38 PM8/12/10
to Twitter Development Talk
I am implementing the tweet button for our site (http://
shop.moxsie.com), and since we use bitly pro, I'd like the short urls
to use my own short domain (http://moxs.ie).

It seems, though that I'm not able to get around the t.co shortener.
If I put my shortened URL in the 'url' field, it gets shortened again
by t.co. Is that because t.co doesn't 'know' about moxs.ie? Or is
there simply no way to get around getting shortened by t.co?

If I just put my shortened URL in the text of the tweet, I get an
error page saying 'Something is technically wrong'. Not sure if that's
because I don't have a url parameter, or for some other reason....

Has anyone been able to work around this?

Thanks,
Per

Tom van der Woerdt

unread,
Aug 12, 2010, 4:31:49 PM8/12/10
to twitter-deve...@googlegroups.com

No, yes.

Abraham posted this sample code :
<a href="http://twitter.com/share" class="twitter-share-button"
data-url="http://arst.ch/xyz" data-count="vertical"
data-via="abraham">Tweet</a>
(I think that this will post a tweet with "Tweet: http://t.co/url (via
@abraham)", although unsure)

No: this does post a t.co URL. Yes: it will redirect to your custom URL,
which will redirect the user to the final URL.

This allows you to track your clicks, but it will not allow you to post
custom URLs. You will have to keep using your previous Tweet Popup for that.

Tom

pthomsen

unread,
Aug 12, 2010, 11:04:05 PM8/12/10
to Twitter Development Talk
I read in the techcrunch article, that the posting url is wrapped in
t.co, but then when displayed in the stream, the url gets unwrapped
again, so you should see the moxs.ie url (in my case). This doesn't
happen for me. I only see the t.co url.

Is there a whitelist of URLs that are accepted by twitter for
'unwrapping-in-the-stream'? If so, how do I get on that list?

Thanks,
Per

Tom van der Woerdt

unread,
Aug 13, 2010, 10:06:31 AM8/13/10
to twitter-deve...@googlegroups.com

Yesterday I noticed that t.co links were unwrapped in the search, but it
looks like that is no longer the case at the moment. Probably taken
offline for a few hours to perfect the algorithm, like Twitter usually
does after implementing something new (happened to Lists too).

It looked like all t.co links are unwrapped, so don't worry ;-)

Tom

Matt LeMay from bit.ly

unread,
Aug 13, 2010, 11:17:29 AM8/13/10
to Twitter Development Talk
Hi, folks-

Yes indeed, t.co links will be unwrapped in the stream, so bit.ly pro
users will still be able to use custom domains, along with bit.ly's
analytics features.

We put a post up on our blog explaining how publishers can continue to
use bit.ly pro domains with the Tweet Button:

http://blog.bit.ly/post/945591208/using-bit-ly-with-twitters-tweet-button

And we are working on some additional tools and resources for
publishers.

If you have any specific questions about implementation, do not
hesitate to contact sup...@bit.ly, or to e-mail me directly!

Thanks-
Matt LeMay
m...@bit.ly

Jonathan Strauss

unread,
Aug 16, 2010, 12:40:53 PM8/16/10
to Twitter Development Talk
I've just posted a WP plugin that makes it easy to use the tweet
button with awe.sm, bit.ly, su.pr, and tinyurl:
http://wordpress.org/extend/plugins/tweet-button-with-shortening/

On Aug 13, 8:17 am, "Matt LeMay from bit.ly" <matthew.le...@gmail.com>
wrote:
> Hi, folks-
>
> Yes indeed, t.co links will be unwrapped in the stream, so bit.ly pro
> users will still be able to use custom domains, along with bit.ly's
> analytics features.
>
> We put a post up on our blog explaining how publishers can continue to
> use bit.ly pro domains with the Tweet Button:
>
> http://blog.bit.ly/post/945591208/using-bit-ly-with-twitters-tweet-bu...
>
> And we are working on some additional tools and resources for
> publishers.
>
> If you have any specific questions about implementation, do not
> hesitate to contact supp...@bit.ly, or to e-mail me directly!
Reply all
Reply to author
Forward
0 new messages