If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Help! Follow Friday Tweet Generator

Okay, im having a little difficulty trying to code a #FollowFriday tweet generator for my website. My code works perfectly creating the tweet, but I want to make it so that when I hit the Submit button, it uses the text from the textarea to encode a URL and append it to the end of http://twitter.com/home?status=. For example if the text in the textbox says "#FollowFriday #FF @FATBOISLIMM" then it generates and opens this URL (http://twitter.com/home?status=%23Fo...%40FATBOISLIMM) in their browser window. Here is the code I have:

exactly but when you encode the URL you shouldn't need to insert a password as long as your already signed into twitter because this method of updating your status is HTTP based. when you click Submit from my program i want it to encode whats in the textbox into a URL, attach that to the end of 'http://twitter.com/home?status=' and open that link. because when you open that link it will bring you to your twitter homepage and whatever have after home?status=...... will be in your status box waiting for you to click Update

no, you only need a Twitter account to test it. all i need help with is encoding the text thats in the text box into URL format when the submit button is hit, and append that to the end of this URL: http://twitter.com/home?status=

okay okay we're making progress. that escape function is going to come in handy, but is there a way we can make the escape not encode anything until AFTER the Submit button is clicked? because i dont want the user to have to see what the encoded version of the text looks like ya know? here is what its going to look like in case you need to see it in action: www.slaptv.net/followfriday.html