Skip to content

Commit

Permalink
Use Facebook API v2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
xibre committed Mar 25, 2018
1 parent 4f9f7ed commit 983a6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oauth.facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
redirect_uri = options.redirect_uri;
}
}
var flowUrl = "https://www.facebook.com/v2.6/dialog/oauth?client_id=" + clientId + "&redirect_uri=" + redirect_uri + "&response_type=token&scope=" + appScope.join(",");
var flowUrl = "https://www.facebook.com/v2.12/dialog/oauth?client_id=" + clientId + "&redirect_uri=" + redirect_uri + "&response_type=token&scope=" + appScope.join(",");
if(options !== undefined && options.hasOwnProperty("auth_type")) {
flowUrl += "&auth_type=" + options.auth_type;
}
Expand Down

0 comments on commit 983a6af

Please sign in to comment.