Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xinranxiao committed Jun 13, 2015
1 parent 8822b8f commit 64ebd47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -30,8 +30,8 @@ var options = {
showDialog: true, // Whether or not to force the user to approve the app again if they’ve already done so.
requestPermissions: ['user-read-email'] // Spotify access scopes.
};
Meteor.loginWithSpotify(options, function(accessToken) {
console.log(accessToken);
Meteor.loginWithSpotify(options, function(err) {
console.log(err || "No error");
});
```
The user's `services.spotify` and `profile` fields will be populated on success. If you just want the access token without user accounts being involved, check out [xinranxiao:spotify](https://github.com/xinranxiao/meteor-spotify).
Expand Down

0 comments on commit 64ebd47

Please sign in to comment.