Skip to content

Commit

Permalink
Merge pull request #78 from hermanbosma/master
Browse files Browse the repository at this point in the history
Issue #77 - Switch to graph version 2.0
  • Loading branch information
criso committed May 22, 2015
2 parents 2f720e8 + 217e72b commit 13cb5c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/graph.js
Expand Up @@ -32,9 +32,9 @@ function extend(target) {
var accessToken = null
, appSecret = null
, graphUrl = 'https://graph.facebook.com'
, graphVersion = '1.0' // default to the oldest version
, oauthDialogUrl = "http://www.facebook.com/v1.0/dialog/oauth?" // oldest version for auth
, oauthDialogUrlMobile = "http://m.facebook.com/v1.0/dialog/oauth?" // oldest version for auth
, graphVersion = '2.0' // default to the oldest version
, oauthDialogUrl = "http://www.facebook.com/v2.0/dialog/oauth?" // oldest version for auth
, oauthDialogUrlMobile = "http://m.facebook.com/v2.0/dialog/oauth?" // oldest version for auth
, requestOptions = {};

/**
Expand Down

0 comments on commit 13cb5c0

Please sign in to comment.