Re: [twitter-dev] Introducing the Tweet Button

2010-08-12 Thread Clint Ecker
On Thu, Aug 12, 2010 at 10:28 AM, themattharris
thematthar...@twitter.com wrote:
 Today we’re launching the Tweet Button to make it easy for your users
 to share your website with their followers. When they click on the
 Tweet Button, a Tweet box will appear pre-populated with a message and
 link chosen by you. Once they have sent a Tweet they can choose to
 follow accounts recommended by you. All of this happens on your
 website, so the user never has to leave.

Hi Matt,

I'd really like to use this on Ars Technica, but it seems to force the
t.co shortener on us.  We have our own shorturl system (arst.ch) and I
need to use that.  Can you explain how I might go about doing
that—I've scoured the docs and have seen no mention of custom Short
URLs.

Thanks!
Clint


Re: [twitter-dev] Introducing the Tweet Button

2010-08-12 Thread Abraham Williams
Clint,

Include a data-url attribute in the a element. It will get wrapped in a
t.co but the user will still hit the arst.ch domain.

a href=http://twitter.com/share; class=twitter-share-button data-url=
http://arst.ch/xyz; data-count=vertical
data-via=abrahamTweet/ascript type=text/javascript src=
http://platform.twitter.com/widgets.js;/script

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


On Thu, Aug 12, 2010 at 11:30, Clint Ecker clintec...@gmail.com wrote:

 On Thu, Aug 12, 2010 at 10:28 AM, themattharris
 thematthar...@twitter.com wrote:
  Today we’re launching the Tweet Button to make it easy for your users
  to share your website with their followers. When they click on the
  Tweet Button, a Tweet box will appear pre-populated with a message and
  link chosen by you. Once they have sent a Tweet they can choose to
  follow accounts recommended by you. All of this happens on your
  website, so the user never has to leave.

 Hi Matt,

 I'd really like to use this on Ars Technica, but it seems to force the
 t.co shortener on us.  We have our own shorturl system (arst.ch) and I
 need to use that.  Can you explain how I might go about doing
 that—I've scoured the docs and have seen no mention of custom Short
 URLs.

 Thanks!
 Clint



Re: [twitter-dev] Introducing the Tweet Button

2010-08-12 Thread Matt Harris
Hi Clint,

The Tweet Button will wrap any URL sent to it as a t.co link so although you
can use your own shortener we will still create a t.co link for it. We don't
unwrap the short URL, so any analytics you have attached to your shortener
can still happen. We also return the URL you sent us with our API responses
so clients can display your URL whilst linked to t.co first. This is made
possible by passing the flag include_entities=1 to any method that returns a
status.

You can learn more about t.co here:
  http://support.twitter.com/entries/109623

Hope that helps,
Matt


On Thu, Aug 12, 2010 at 11:30 AM, Clint Ecker clintec...@gmail.com wrote:

 On Thu, Aug 12, 2010 at 10:28 AM, themattharris
 thematthar...@twitter.com wrote:
  Today we’re launching the Tweet Button to make it easy for your users
  to share your website with their followers. When they click on the
  Tweet Button, a Tweet box will appear pre-populated with a message and
  link chosen by you. Once they have sent a Tweet they can choose to
  follow accounts recommended by you. All of this happens on your
  website, so the user never has to leave.

 Hi Matt,

 I'd really like to use this on Ars Technica, but it seems to force the
 t.co shortener on us.  We have our own shorturl system (arst.ch) and I
 need to use that.  Can you explain how I might go about doing
 that—I've scoured the docs and have seen no mention of custom Short
 URLs.

 Thanks!
 Clint




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Introducing the Tweet Button

2010-08-12 Thread M. Edward (Ed) Borasky
That brings up an interesting question. Can we access t.co analytics  
now, either (preferably) for free or by paying Twitter? If not, when,  
if ever, will we be able to access t.co analytics?

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos


Quoting Matt Harris thematthar...@twitter.com:


Hi Clint,

The Tweet Button will wrap any URL sent to it as a t.co link so although you
can use your own shortener we will still create a t.co link for it. We don't
unwrap the short URL, so any analytics you have attached to your shortener
can still happen. We also return the URL you sent us with our API responses
so clients can display your URL whilst linked to t.co first. This is made
possible by passing the flag include_entities=1 to any method that returns a
status.

You can learn more about t.co here:
  http://support.twitter.com/entries/109623

Hope that helps,
Matt


On Thu, Aug 12, 2010 at 11:30 AM, Clint Ecker clintec...@gmail.com wrote:


On Thu, Aug 12, 2010 at 10:28 AM, themattharris
thematthar...@twitter.com wrote:
 Today we’re launching the Tweet Button to make it easy for your users
 to share your website with their followers. When they click on the
 Tweet Button, a Tweet box will appear pre-populated with a message and
 link chosen by you. Once they have sent a Tweet they can choose to
 follow accounts recommended by you. All of this happens on your
 website, so the user never has to leave.

Hi Matt,

I'd really like to use this on Ars Technica, but it seems to force the
t.co shortener on us.  We have our own shorturl system (arst.ch) and I
need to use that.  Can you explain how I might go about doing
that—I've scoured the docs and have seen no mention of custom Short
URLs.

Thanks!
Clint





--


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris