Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Net::Twitter::OAuth

Name Net::Twitter::OAuth
Version 4.01043
Located at /usr/share/perl5
File /usr/share/perl5/Net/Twitter/OAuth.pm
Is Core No
Search CPAN for this module Net::Twitter::OAuth
Documentation Net::Twitter::OAuth
Module Details Net::Twitter::OAuth

NAME

Net::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards compatibility


VERSION

version 4.01043


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 the Net::Twitter manpage and the Net::Twitter::Role::OAuth manpage for full documentation.


DEPRECATION NOTICE

This module is deprecated. Use the Net::Twitter manpage instead.

    use Net::Twitter;
    # Just the REST API; exceptions thrown on error
    $nt = Net::Twitter->new(traits => [qw/API::RESTv1_1 OAuth/]);
    # Just the REST API; errors wrapped - use $nt->get_error
    $nt = Net::Twitter->new(traits => [qw/API::RESTv1_1 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 the Net::Twitter manpage for new options.


SEE ALSO

the Net::Twitter manpage, the Net::Twitter::Role::OAuth manpage


AUTHORS

Marc Mims <marc@questright.com> Tatsuhiko Miyagawa <miyagawa@bulknews.net>


LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026