Download MetroTwit 1.1.0 for Windows. Fast downloads of the latest free software! Fenix, Falcon Pro, and Twitter (Official) are probably your best bets out of the 16 options considered. 'Clean UI' is the primary reason people pick Fenix over the competition. This page is powered by a knowledgeable community that helps you make an informed decision.
- ATTRIBUTES
- METHODS
Mojo::WebService::Twitter - Simple Twitter API client
Mojo::WebService::Twitter is a Mojo::UserAgent based Twitter API client that can perform requests synchronously or asynchronously. An API key and secret for a Twitter Application are required.
API requests are authenticated by the 'authentication' coderef, which can either use an OAuth 2.0 access token to authenticate requests on behalf of the application itself, or OAuth 1.0 credentials (access token and secret) to authenticate requests on behalf of a specific user. The twitter_oauth_creds script can be used to obtain Twitter OAuth credentials for a user from the command-line. A web application may wish to implement its own OAuth authorization flow, passing a callback URL back to the application in 'request_oauth', then calling 'verify_oauth' with the passed verifier code to retrieve the credentials. See the Twitter documentation for more details.
All methods which query the Twitter API can be called with an optional trailing callback argument to run a non-blocking API query. Alternatively, the
_p
variant will run a non-blocking API query and return a Mojo::Promise, which can simplify complex sequences of non-blocking queries. On connection, HTTP, or API error, blocking API queries will throw a Mojo::WebService::Twitter::Error exception. Non-blocking API queries will pass this exception object to the callback or reject the promise, and otherwise pass the results to the callback or resolve the promise.Note that this distribution implements only a subset of the Twitter API. Additional features may be added as requested. See Twitter::API for a more fully-featured lightweight and modern twitter client library.
Mojo::WebService::Twitter implements the following attributes. Aiseesoft mac blu ray player 6 2 56 download free.
api_key
API key for your Twitter Application.
Free Quick Tweet 1 0 1 – A Lightweight Tweeting Client Training
api_secret
API secret for your Twitter Application.
ua
HTTP user agent object to use for synchronous and asynchronous requests, defaults to a Mojo::UserAgent object.
Mojo::WebService::Twitter inherits all methods from Mojo::Base, and implements the following new ones.
authentication
Get or set coderef used to authenticate API requests. Passing
oauth
with optional token and secret, or a hashref containing oauth_token
and oauth_token_secret
, will set a coderef which uses a WWW::OAuth to authenticate requests. Passing oauth2
with required token or a hashref containing access_token
will set a coderef which authenticates using the passed access token. The coderef will receive the Mojo::Message::Request object as the first parameter, and an optional hashref of oauth_
parameters.request_oauth
request_oauth_p
Send an OAuth 1.0 authorization request and return a hashref containing
oauth_token
and oauth_token_secret
(request token and secret). An optional OAuth callback URL may be passed; by default, oob
is passed to use PIN-based authorization. The user should be directed to the authorization URL which can be retrieved by passing the request token to 'twitter_authorize_url' in Mojo::WebService::Twitter::Util. After authorization, the user will either be redirected to the callback URL with the query parameter oauth_verifier
, or receive a PIN to return to the application. Either the verifier string or PIN should be passed to 'verify_oauth' to retrieve an access token and secret.verify_oauth
verify_oauth_p
Verify an OAuth 1.0 authorization request with the verifier string or PIN from the authorizing user, and the previously obtained request token and secret. The secret is cached by 'request_oauth' and may be omitted. Returns a hashref containing
oauth_token
and oauth_token_secret
(access token and secret) which may be passed directly to 'authentication' to authenticate requests on behalf of the user.request_oauth2
request_oauth2_p
Request OAuth 2 credentials and return a hashref containing an
access_token
that can be passed directly to 'authentication' to authenticate requests on behalf of the application itself.get_tweet
get_tweet_p
Retrieve a Mojo::WebService::Twitter::Tweet by tweet ID.
get_user
get_user_p
Retrieve a Mojo::WebService::Twitter::User by user ID or screen name.
post_tweet
post_tweet_p
Post a status update (tweet) and retrieve the resulting Mojo::WebService::Twitter::Tweet. Requires OAuth 1.0 authentication. Accepts the following options:
Indicates the tweet is in reply to an existing tweet ID. IDs should be specified as a string to avoid issues with large integers. This parameter will be ignored by the Twitter API unless the author of the referenced tweet is mentioned within the status text as
@username
.The latitude of the location to attach to the tweet. This parameter will be ignored by the Twitter API unless it is within the range
-90.0
to 90.0
, and a corresponding long
is specified. It is recommended to specify values as strings to avoid issues with floating-point representations.The longitude of the location to attach to the tweet. This parameter will be ignored by the Twitter API unless it is within the range
-180.0
to 180.0
, and a corresponding lat
is specified. It is recommended to specify values as strings to avoid issues with floating-point representations.A Twitter place ID to attach to the tweet.
If true, tweet will display the exact coordinates the tweet was sent from.
retweet
retweet_p
Retweet the tweet ID or Mojo::WebService::Twitter::Tweet object. Returns a Mojo::WebService::Twitter::Tweet representing the original tweet. 010 editor 10 0 1. Requires OAuth 1.0 authentication.
search_tweets
search_tweets_p
Search Twitter and return a Mojo::Collection of Mojo::WebService::Twitter::Tweet objects. Accepts the following options:
Free Quick Tweet 1 0 1 – A Lightweight Tweeting Client Asks
Restricts tweets to the given radius of the given latitude/longitude. Radius must be specified as
mi
(miles) or km
(kilometers). It is recommended to specify values as strings to avoid issues with floating-point representations.Restricts tweets to the given ISO 639-1 language code.
Specifies what type of search results to receive. Valid values are
recent
, popular
, and mixed
(default).Limits the search results per page. Maximum
100
, default 15
.Restricts tweets to those created before the given date, in the format
YYYY-MM-DD
.Restricts results to those more recent than the given tweet ID. IDs should be specified as a string to avoid issues with large integers. See here for more information on filtering results with
since_id
and max_id
.Free Quick Tweet 1 0 1 – A Lightweight Tweeting Clients
Restricts results to those older than (or equal to) the given tweet ID. IDs should be specified as a string to avoid issues with large integers. See here for more information on filtering results with
since_id
and max_id
.Free Quick Tweet 1 0 1 – A Lightweight Tweeting Client Job
verify_credentials
verify_credentials_p
Verify the authorizing user's credentials and return a representative Mojo::WebService::Twitter::User object. Requires OAuth 1.0 authentication.
Report any issues on the public bugtracker. Letter quest: grimms journey 2 4 5.
Dan Book <[email protected]>
This software is Copyright (c) 2015 by Dan Book.
This is free software, licensed under:
Twitter::API, WWW::OAuth
To install Mojo::WebService::Twitter, copy and paste the appropriate command in to your terminal.
For more information on module installation, please visit the detailed CPAN module installation guide.