Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to figure out how to create an HTML form that would allow a user to log in and tweet their message directly to Twitter. What resources should I look at to get started?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
<form target="_blank" name="tweet" action="https://twitter.com/share" method="get"> 
  <input type="hidden" name="original_referer" value="http://www.yoururl.com"> 
  <input type="hidden" name="source" value="tweetbutton"> 
  <input type="hidden" name="url" value="http://www.yoururl.com"> 
  <input style="width:430px; height:34px; font-size:18px" type="text" name="text" maxlength="98">

  <input type="submit" value="Tweet This" />    
</form>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.