How do I alter the Epitwitter scripts to post to twitter from a web form?

Posted by waterfallrain on Stack Overflow See other posts from Stack Overflow or by waterfallrain
Published on 2010-05-19T00:41:08Z Indexed on 2010/05/19 0:50 UTC
Read the original article Hit count: 216

Filed under:
|
|

Hello,

I am trying to update my twitter status with php and outh using the Epitwitter scripts. The following is the textarea of the web form I created to allow me to update twitter.

<textarea name="updatestatus" cols="50" rows="4" id="updatestatus">

 </textarea>

Do I change this line in my confirm.php script from $status = 'Testing API';

To this

$status=$_POST["updatestatus"]; 

I am wanting to know if I at least got that right so I can look at other possible problems with this form not being able to update twitter. As it stands now I am manually editing the status each time and it works that way perfectly but have not yet figured out how to get a webform to do this.

© Stack Overflow or respective owner

Related posts about php

Related posts about twitter