| Net-Douban documentation | view source | Contained in the Net-Douban distribution. |
Net::Douban::OAuth - OAuth object for Net::Douban
version 1.07
my $oauth = Net::Douban::OAuth->new(
consumer_key => ,
consumer_secret => ,
site => ,
request_token_path => ,
access_token_path =>,
);
$oauth->request_token;
$oauth->access_token;
OAuth object for douban.com base on Net::OAuth
Create the OAuth object for authentication. If the authenticated tokens are passed as the arguments, do remember to pass authorized => 1 too.
get request token into $oauth->consumer
get access_token into $oauth->consumer
get
post
put
delete
woosley.xu<redicaps@gmail.com>
This software is copyright (c) 2010 by woosley.xu.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Net-Douban documentation | view source | Contained in the Net-Douban distribution. |