Reputation: 29497
I want to make a simple script to post a tweet from a Textbox when the user click on the Submit button, but all using Javascript, without any server-side language. How may I do this?
Upvotes: 3
Views: 7081
Reputation: 641
What you want to use is Twitter Anywhere, develop by twitter
http://dev.twitter.com/anywhere
This handles all OAuth, create the box and post the tweet.
Upvotes: 7
Reputation: 37454
http://www.saschakimmel.com/2009/05/how-to-create-a-dynamic-tweet-this-button-with-javascript/ But just change the document.title to the location of your textbox
Upvotes: 1