Twitter Authentication

This example logs a user in via Twitter, using 3-legged OAuth.

If using this code to actually perform actions on behalf of a user, be sure to use the oauth/authorize endpoint, rather than the oauth/authenticate endpoint used in this example.

Script Code

examples.webscript.io/twitter-auth

examples.webscript.io/twitter-auth-callback

Try It!

https://examples.webscript.io/twitter-auth