Skip to content

Commit

Permalink
update Facebook v2.8 -> v2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kullfar committed Nov 22, 2017
1 parent fd4f99e commit a4ce215
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -12,6 +12,7 @@
* drop toString method from *Tokens to prevent leak of sensible data (token ans secrets) (thanks to https://github.com/rcaa)
* add Apache HttpComponents HttpClient support in separate module (thanks to https://github.com/sschwieb)
* add support for appsecret_proof in Facebook
* update Facebook v2.8 -> v2.11

[4.2.0]
* DELETE in JdkClient permits, but not requires payload (thanks to https://github.com/miguelD73)
Expand Down
Expand Up @@ -10,7 +10,7 @@
import com.github.scribejava.core.model.Verb;

/**
* Facebook v2.8 API
* Facebook v2.11 API
*/
public class FacebookApi extends DefaultApi20 {

Expand All @@ -33,7 +33,7 @@ public Verb getAccessTokenVerb() {

@Override
public String getAccessTokenEndpoint() {
return "https://graph.facebook.com/v2.8/oauth/access_token";
return "https://graph.facebook.com/v2.11/oauth/access_token";
}

@Override
Expand All @@ -43,7 +43,7 @@ public String getRefreshTokenEndpoint() {

@Override
protected String getAuthorizationBaseUrl() {
return "https://www.facebook.com/v2.8/dialog/oauth";
return "https://www.facebook.com/v2.11/dialog/oauth";
}

@Override
Expand Down
Expand Up @@ -16,7 +16,7 @@
public final class FacebookAsyncApacheExample {

private static final String NETWORK_NAME = "Facebook";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.8/me";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.11/me";

private FacebookAsyncApacheExample() {
}
Expand Down
Expand Up @@ -17,7 +17,7 @@
public final class FacebookAsyncNingExample {

private static final String NETWORK_NAME = "Facebook";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.8/me";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.11/me";

private FacebookAsyncNingExample() {
}
Expand Down
Expand Up @@ -15,7 +15,7 @@
public final class FacebookExample {

private static final String NETWORK_NAME = "Facebook";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.8/me";
private static final String PROTECTED_RESOURCE_URL = "https://graph.facebook.com/v2.11/me";

private FacebookExample() {
}
Expand Down

0 comments on commit a4ce215

Please sign in to comment.