[twitter-dev] Tweeting from my website

2010-07-13 Thread olli ekeis
Hi,

let's say someone finds 'mysuperpage' of my website interesting.

How can I make that someone-guy tweeting the predefined string
'superpage found on http://abc.xyz/superpage blablabla' direct from my
website by clicking on a tweet-button?

How can I integrate a shortener service?

thx4help Olli.


Re: [twitter-dev] Tweeting from my website

2010-07-13 Thread Cameron Kaiser
 let's say someone finds 'mysuperpage' of my website interesting.
 
 How can I make that someone-guy tweeting the predefined string
 'superpage found on http://abc.xyz/superpage blablabla' direct from my
 website by clicking on a tweet-button?

There is no one-click way to do this (if you think about it, if there were
then the clickjackers would have a field day). You *can* pass a predefined
status string to Twitter and then the user can examine it and click Submit;
there are various examples of this you can find in the group archives. But
you can't simply build a tweet-button that way.

 How can I integrate a shortener service?

Probably the easiest way is to preshorten the URL before you hand it off
in your status string. That will depend on your shortener's API.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Dread each day as it comes. -- Donald Kaul -


Re: [twitter-dev] Tweeting from my website

2010-07-13 Thread Peter Denton
also, take a look at http://dev.twitter.com/anywhere/begin. Sounds like you
are looking for a lightweight solution to allow people to share your page
to twitter.

bitly has a javascript shortener service, which you could call and
prepopulate the anywhere dialog box.

On Tue, Jul 13, 2010 at 7:55 AM, olli ekeis ekei...@gmx.de wrote:

 Hi,

 let's say someone finds 'mysuperpage' of my website interesting.

 How can I make that someone-guy tweeting the predefined string
 'superpage found on http://abc.xyz/superpage blablabla' direct from my
 website by clicking on a tweet-button?

 How can I integrate a shortener service?

 thx4help Olli.