aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-01 12:25:46 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-03 11:25:18 +0100
commit809e040f49b5f5a55166a6f0cfa5f945cede3fca (patch)
tree477f8fb5839d2ac74429216af75edde44cbad732
parent60c9a067d2e96282ffbce4019c9c80e8f5c9fd85 (diff)
Upgrade Net::Facebook::Oauth2 to 0.11.
v2.8 of the FB API is due to turn off in April 2019, let's upgrade well in advance.
-rw-r--r--cpanfile2
-rw-r--r--cpanfile.snapshot7
-rw-r--r--t/Mock/Facebook.pm4
3 files changed, 7 insertions, 6 deletions
diff --git a/cpanfile b/cpanfile
index 71b3fc93e..aa0224c84 100644
--- a/cpanfile
+++ b/cpanfile
@@ -82,7 +82,7 @@ requires 'namespace::autoclean';
requires 'Net::Amazon::S3';
requires 'Net::DNS::Resolver';
requires 'Net::Domain::TLD', '1.75';
-requires 'Net::Facebook::Oauth2', '0.10';
+requires 'Net::Facebook::Oauth2', '0.11';
requires 'Net::OAuth';
requires 'Net::Twitter::Lite::WithAPIv1_1', '0.12008';
requires 'Number::Phone', '3.4003';
diff --git a/cpanfile.snapshot b/cpanfile.snapshot
index 565c389a6..aa00250ae 100644
--- a/cpanfile.snapshot
+++ b/cpanfile.snapshot
@@ -4897,15 +4897,16 @@ DISTRIBUTIONS
Carp 0
ExtUtils::MakeMaker 0
Storable 0
- Net-Facebook-Oauth2-0.10
- pathname: M/MA/MAMOD/Net-Facebook-Oauth2-0.10.tar.gz
+ Net-Facebook-Oauth2-0.11
+ pathname: M/MA/MAMOD/Net-Facebook-Oauth2-0.11.tar.gz
provides:
MyApp::Controller::Facebook undef
- Net::Facebook::Oauth2 0.10
+ Net::Facebook::Oauth2 0.11
requirements:
Carp 0
ExtUtils::MakeMaker 0
JSON::MaybeXS 0
+ LWP::Protocol::https 0
LWP::UserAgent 0
Plack::Loader 0
Plack::Request 0
diff --git a/t/Mock/Facebook.pm b/t/Mock/Facebook.pm
index 339eae536..6c9f90f10 100644
--- a/t/Mock/Facebook.pm
+++ b/t/Mock/Facebook.pm
@@ -20,12 +20,12 @@ has returns_email => (
sub dispatch_request {
my $self = shift;
- sub (GET + /v2.8/dialog/oauth + ?*) {
+ sub (GET + /v3.1/dialog/oauth + ?*) {
my ($self) = @_;
return [ 200, [ 'Content-Type' => 'text/html' ], [ 'FB login page' ] ];
},
- sub (GET + /v2.8/oauth/access_token + ?*) {
+ sub (GET + /v3.1/oauth/access_token + ?*) {
my ($self) = @_;
return [ 200, [ 'Content-Type' => 'application/json' ], [ '{"access_token": "access_token"}' ] ];
},