Attention: Webscript.io is shutting down on December 15th, 2017.

Learn more on the home page.

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