PDA

View Full Version : Twitter Submit Form



AlterPoser
11-03-2009, 08:06 AM
So I've been looking for a twitter status updating script where users can type out something and tweet it from my site. I tried looking around but just keep getting "How to display tweets on your site" kinda stuff. The closest thing I found was this form from Tweepler. But I don't know to make it work for my site.


<form action="/user/send_tweet" method="post" onsubmit="new Ajax.Request('/user/send_tweet', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;"><div style="margin:0;padding:0"><input name="authenticity_token" type="hidden" value="1396809146b0e7286191a795bc9b56f4e834e005" /></div>
<input class="field1" id="tweet" name="tweet" type="text" value="#Webstip http://is.gd/4LJ5C" /></div>
<div class="tweet-button right"><input src="http://webstips.webs.com/input_sub.png" type="image" />
</form>

Ah or can I some how incorporate http://www.twitter.com/home?status=WHATEVER+USER+TYPED+#Webstip+http://is.gd/4LJ5C
when people submit?

I'm so lost, can anyone help?