Login in Twitter with JavaScript


#1

Hi

How can i implement Login in Twitter with JavaScript in my Ajax Form without reload and refresh the page.

Thanks


#2

You don’t. Javascript is not server side and therefore the secure details would be made public. What you would want is Ajax to call a PHP script that uses cURL to make the OAuth requests as to keep the details severside.