Net::Twitter::OAuth(3pm) User Contributed Perl Documentation Net::Twitter::OAuth(3pm)
NAME
Net::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards
compatibility
SYNOPSIS
use Net::Twitter;
my $nt = Net::Twitter::OAuth->new(consumer_key => $key, consumer_secret => $secret);
DESCRIPTION
This module simply creates an instance of "Net::Twitter" with the "Legacy" and "OAuth"
traits applied. It is provided as a transparent backwards compatibility layer for earlier
versions of Net::Twitter::OAuth which subclassed Net::Twitter.
See Net::Twitter and Net::Twitter::Role::OAuth for full documentation.
DEPRECATION NOTICE
This module is deprecated. Use Net::Twitter instead.
use Net::Twitter;
# Just the REST API; exceptions thrown on error
$nt = Net::Twitter->new(traits => [qw/API::REST OAuth/]);
# Just the REST API; errors wrapped - use $nt->get_error
$nt = Net::Twitter->new(traits => [qw/API::REST WrapError/]);
# Or, for code that uses legacy Net::Twitter idioms
$nt = Net::Twitter->new(traits => [qw/Legacy OAuth/]);
METHODS
new Creates a "Net::Twitter" object with the "Legacy" and "OAuth" traits. See "new" in
Net::Twitter for "new" options.
SEE ALSO
Net::Twitter, Net::Twitter::Role::OAuth
AUTHORS
Marc Mims <marc AT questright.com> Tatsuhiko Miyagawa <miyagawa AT bulknews.net>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
perl v5.10.0 2010-03-11 Net::Twitter::OAuth(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-24 21:45 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)