Skip to content

Commit

Permalink
Merge pull request #133 from jminuscula/master
Browse files Browse the repository at this point in the history
set https oAuth dialog URLs when changing API version
  • Loading branch information
criso committed Mar 23, 2018
2 parents 49df9cb + 9b6af52 commit bd38cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ exports.setVersion = function (version) {
graphVersion = version;

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

return this;
};
Expand Down

0 comments on commit bd38cfd

Please sign in to comment.