Skip to content

Commit bd38cfd

Browse files
authored
Merge pull request criso#133 from jminuscula/master
set https oAuth dialog URLs when changing API version
2 parents 49df9cb + 9b6af52 commit bd38cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/graph.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ exports.setVersion = function (version) {
519519
graphVersion = version;
520520

521521
// update auth urls
522-
oauthDialogUrl = "http://www.facebook.com/v"+version+"/dialog/oauth?"; // oldest version for auth
523-
oauthDialogUrlMobile = "http://m.facebook.com/v"+version+"/dialog/oauth?"; // oldest version for auth
522+
oauthDialogUrl = "https://www.facebook.com/v"+version+"/dialog/oauth?"; // oldest version for auth
523+
oauthDialogUrlMobile = "https://m.facebook.com/v"+version+"/dialog/oauth?"; // oldest version for auth
524524

525525
return this;
526526
};

0 commit comments

Comments
 (0)