Skip to content

Commit

Permalink
Merge pull request #8 from riklaunim/master
Browse files Browse the repository at this point in the history
Add expiresIn to data passed from Facebook response.
  • Loading branch information
luan committed Mar 31, 2014
2 parents 2809a85 + f5d0daf commit 42f4274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ember-facebook.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/ember-facebook.coffee
Expand Up @@ -52,6 +52,7 @@
FB.api '/me', (user) =>
FBUser = Ember.Object.create user
FBUser.set 'accessToken', response.authResponse.accessToken
FBUser.set 'expiresIn', response.authResponse.expiresIn

if @get 'fetchPicture'
FB.api '/me/picture', (resp) =>
Expand Down

0 comments on commit 42f4274

Please sign in to comment.