twitter_oauth_creds - Script to retrieve OAuth 1.0 credentials for a Twitter application
$ twitter_oauth_creds
twitter_oauth_creds is an interactive script for retrieving OAuth 1.0 credentials to authorize a Twitter application to act on behalf of a user. It implements Twitter's PIN-based authorization flow.
The script will first prompt for your application's Twitter API key and secret, which you can obtain here. The API key and secret can also be passed as environment variables TWITTER_API_KEY and TWITTER_API_SECRET. It will then print an authorization URL which the user should go to in order to authorize the application. The user will receive a PIN after authorizing, which should be entered back into the script to receive an access token and secret. The token and secret can be stored and used to authorize the application on behalf of that user in the future, such as with Mojo::WebService::Twitter.
TWITTER_API_KEY
TWITTER_API_SECRET
Report any issues on the public bugtracker.
Dan Book <dbook@cpan.org>
This software is Copyright (c) 2015 by Dan Book.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Mojo::WebService::Twitter, WWW::OAuth
To install Mojo::WebService::Twitter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::WebService::Twitter
CPAN shell
perl -MCPAN -e shell install Mojo::WebService::Twitter
For more information on module installation, please visit the detailed CPAN module installation guide.