views:

38

answers:

1

How can I post a message to twitter using only javascript (no serverside authentification).

For example I have a form with username, password, and a text field and a submit button.

I want to use it on the backend of a website.

I have read this, http://dev.twitter.com/doc/post/statuses/update but I do not know how to handle the authentification of the username.

(I know that it involves many security risks doing it this way)

+1  A: 

either use the javascript twitter api helper at http://sources.disruptive-innovations.com/twitterHelper/tags/latest/TwitterHelper.html

or the far easier way is to use the @anywhere api from twitter (http://dev.twitter.com/anywhere/begin)

Nikolaus Gradwohl
I have already tried twitterhelper but there is also a problem with the authentification I think. I get unauthorised as the response.And some parameters are not really explained. Do you have an example to it?