Skip to content

osowskit/twitter-oauth-simple-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Server to obtain Twitter OAuth tokens

Simple web server to obtain an Twitter 3-legged OAuth access token.

  • Create Twitter App
    • Add Callback URL using auth/twitter/callback - e.g. http://127.0.0.1:5000/auth/twitter/callback
  • Copy the .env.example to .env and set the Key and Secret from ☝️
  • Run the server - e.g. ruby server.rb -p 5000
  • Visit the local site - http://127.0.0.1:5000

Your token will be printed to the console.

Inspired by this blog using Omni-Auth and a readme for a Ruby OAuth Gem

About

Simple web server to obtain an Twitter 3-legged OAuth access token

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages