Connect to Twitter using JavaScript

oauth
javascript

#1

Hey everybody,

I need some help connecting to Twitter. I am creating a Twitter application using the Pencilcase Tool.

In this tool you can execute a JavaScript command after pushing a button. Great, isn’t it :stuck_out_tongue:

I have my Token etc… But how do I let users connect with their account?

I know their is some good documentation on the Twitter Developer site, but I just don’t get the differneces between the various connection possibilities.

The goal here would be to create a login form for a user. But how do I get to the users oAuth Token without asking them for Username and Password (Makes a lot of sense that this is forbidden by Twitter for third party applications like mine).

But I just cant find a single easy code snippet to get the user connected with their account. Here in the forum are some posts of users asking pretty much the same questions but these questions are 2-3 years old.

Can anyone help me.

Thank you,

Cheers
Ulpin