I like to add a retweet button on my website page ( not a WP) and in the message with a default text and an embed URL. Does anyone know how to code this?
Not really a true "retweet", but it is as simple as making a link like: http://twitter.com/home?status=Your message goes here http://example.com/index.html Code (markup): The user still has to click "update" on their twitter page to actually update their status however. Twitter is going to incorporate a retweet function into their API very soon, and this will be the way you want to do this when it's ready. You can take a look at the api documentation for the new retweet function, but developers can't use it yet (can't wait for this!) http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweet Code (markup):
You can send a normal status with 'RT' text You need to be familiar with this: http://www.php.net/manual/en/function.curl-exec.php ErikTheRed: soon! http://groups.google.com/group/twitter-api-announce/browse_thread/thread/3641a248d555da20
Copy and Paste the following code where you want the button to be displayed: Official reTweet Button When the URL is not the same as the current URL Smaller Button Different Username