Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added apiVersion parameter description
  • Loading branch information
svlapin committed Apr 4, 2014
1 parent 7cc563b commit a9ca9f3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -101,6 +101,19 @@ list of additional fields your application needs. For example, to fetch users's
},
// verify callback
));

#### API version

The VK.com profile structure can differ from one API version to another. The specific version to use can be configured with a `apiVersion` parameter. The default is 5.0.

```javascript
passport.use(new VKontakteStrategy({
// clientID, clientSecret and callbackURL
apiVersion: '5.17'
},
// verify callback
));
```

## Tests

Expand Down

0 comments on commit a9ca9f3

Please sign in to comment.