Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 9 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 16, 2012
@semifor Allow extra paramters to get_auth*_url methods
Twitter allows optional force_login and screen_name parameters to the
oauth authentication and authorization url endpoints. Net::Twitter will
now pass any extra parameters directly to Twitter.
21ec439
@semifor Release 3.18004 ee341ca
View
1  .gitignore
@@ -1,6 +1,7 @@
.*.swp
MANIFEST
META.yml
+MYMETA.*
Makefile
blib/
pm_to_blib
View
5 Changes
@@ -1,3 +1,8 @@
+3.18004 2012-10-15
+ - Allow extra parameters to get_auth*_url methods (this accommodates
+ Twitter's optional force_login and screen_name parameters to those
+ endpoints.
+
3.18003 2012-06-27
- Use path statuses/mentions, not statuses/replies
View
2  README
@@ -2,7 +2,7 @@ NAME
Net::Twitter - A perl interface to the Twitter API
VERSION
- This document describes Net::Twitter version 3.18003
+ This document describes Net::Twitter version 3.18004
SYNOPSIS
use Net::Twitter;
View
2  lib/Net/Identica.pm
@@ -2,7 +2,7 @@ package Net::Identica;
use Moose;
# use *all* digits for fBSD ports
-our $VERSION = '3.18003';
+our $VERSION = '3.18004';
$VERSION = eval $VERSION; # numify for warning-free dev releases
extends 'Net::Twitter::Core';
View
2  lib/Net/Twitter.pm
@@ -13,7 +13,7 @@ has '_trait_namespace' => (
);
# use *all* digits for fBSD ports
-our $VERSION = '3.18003';
+our $VERSION = '3.18004';
$VERSION = eval $VERSION; # numify for warning-free dev releases
View
2  lib/Net/Twitter/Core.pm
@@ -18,7 +18,7 @@ use Try::Tiny;
use namespace::autoclean;
# use *all* digits for fBSD ports
-our $VERSION = '3.18003';
+our $VERSION = '3.18004';
$VERSION = eval $VERSION; # numify for warning-free dev releases
View
2  lib/Net/Twitter/OAuth.pm
@@ -2,7 +2,7 @@ package Net::Twitter::OAuth;
use Moose;
# use *all* digits for fBSD ports
-our $VERSION = '3.18003';
+our $VERSION = '3.18004';
$VERSION = eval $VERSION; # numify for warning-free dev releases
extends 'Net::Twitter::Core';
View
6 lib/Net/Twitter/Role/OAuth.pm
@@ -61,10 +61,11 @@ sub authorized {
sub _get_auth_url {
my ($self, $which_url, %params ) = @_;
- $self->_request_request_token(%params);
+ my $callback = delete $params{callback} || 'oob';
+ $self->_request_request_token(callback => $callback);
my $uri = $self->$which_url;
- $uri->query_form(oauth_token => $self->request_token);
+ $uri->query_form(oauth_token => $self->request_token, %params);
return $uri;
}
@@ -100,7 +101,6 @@ sub _request_request_token {
my ($self, %params) = @_;
my $uri = $self->request_token_url;
- $params{callback} ||= 'oob';
my $request = $self->_make_oauth_request(
'request token',
request_url => $uri,
View
2  lib/Net/Twitter/Search.pm
@@ -2,7 +2,7 @@ package Net::Twitter::Search;
use Moose;
# use *all* digits for fBSD ports
-our $VERSION = '3.18003';
+our $VERSION = '3.18004';
$VERSION = eval $VERSION; # numify for warning-free dev releases
extends 'Net::Twitter::Core';

No commit comments for this range

Something went wrong with that request. Please try again.