GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::TWITTER::OAUTH (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 4.01010

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::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 Net::Twitter for new options.

SEE ALSO

Net::Twitter, Net::Twitter::Role::OAuth

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::TWITTER::OAUTH (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.