Net::Douban::OAuth - OAuth for Net::Douban
version 1.14
use Net::Douban; my $c = Net::Douban->new( consumer_key => 'CONSUMER_KEY', consumer_secret => 'CONSUMER_SECRET', ); $c->get_request_token(callback_url = $callback_url); ## get you user to this url print $c->paste_url; <>; $c->get_access_token; #then you can use this object to access user data
woosley.xu, <woosley.xu at gmail.com>
<woosley.xu at gmail.com>
Copyright 2010 - 2011 woosley.xu.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Net::Douban, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Douban
CPAN shell
perl -MCPAN -e shell install Net::Douban
For more information on module installation, please visit the detailed CPAN module installation guide.