App::Maisha::Plugin::Twitter - Maisha interface to Twitter


App-Maisha documentation  | view source Contained in the App-Maisha distribution.

Index


NAME

Top

App::Maisha::Plugin::Twitter - Maisha interface to Twitter

SYNOPSIS

Top

   maisha
   maisha> use Twitter
   use ok

DESCRIPTION

Top

App::Maisha::Plugin::Twitter is the gateway for Maisha to access the Twitter API.

METHODS

Top

Constructor

* new

Process Methods

* login

Login to the service. See Authentication below.

API Methods

The API methods are used to interface to with the Twitter API.

* api_follow
* api_unfollow
* api_user
* api_user_timeline
* api_friends
* api_friends_timeline
* api_public_timeline
* api_followers
* api_update
* api_replies
* api_send_message
* api_direct_messages_to
* api_direct_messages_from

AUTHENTICATION

Top

On 31st August 2010, Twitter disabled Basic Authentication to access their API. Instead they have introduce the OAuth method of authrntication, which now requires application developers to request the user to authenticate themselves and provide a PIN (Personal Identification Number) to allow the application to retrieve access tokens.

With this new method of authentication, the application will provide a URL, which the user needs to cut-n-paste into a browser to logging in to the service, using your regular username/password, then 'Allow' Maisha to access your account. This will then allow Maisha to post to your account. You will then be given a PIN, which should then be entered at the prompt on the Maisha command line.

Once you have completed authentication, the application will then store your access tokens permanently under your profile on your computer. Then when you next use the application it will retrieve these access tokens automatically and you will no longer need to register the application.

SEE ALSO

Top

For further information regarding the commands and configuration, please see the 'maisha' script included with this distribution.

App::Maisha

Net::Twitter

WEBSITES

Top

* Main Site: http://maisha.grango.org =item * Git Repo: http://github.com/barbie/maisha/tree/master =item * RT Queue: RT: http://rt.cpan.org/Public/Dist/Display.html?Name=App-Maisha

AUTHOR

Top

  Copyright (c) 2009-2010 Barbie <barbie@cpan.org> for Grango.org.

LICENSE

Top

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

  See http://www.perl.com/perl/misc/Artistic.html


App-Maisha documentation  | view source Contained in the App-Maisha distribution.