NAME

twitter_oauth_creds - Script to retrieve OAuth 1.0 credentials for a Twitter application

SYNOPSIS

$ twitter_oauth_creds

DESCRIPTION

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.

BUGS

Report any issues on the public bugtracker.

AUTHOR

Dan Book <dbook@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Dan Book.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

SEE ALSO

Mojo::WebService::Twitter, WWW::OAuth