()
| 132 | onConnectedWithFacebook () { if (this.connecting) { return location.reload() } } |
| 133 | |
| 134 | loadFacebookFriends () { |
| 135 | // @addSomethingToLoad('facebook_friends') |
| 136 | |
| 137 | this.fbFriendRes = this.supermodel.addSomethingResource('facebook_friends', 0) |
| 138 | this.fbFriendRes.load() |
| 139 | |
| 140 | return FB.api('/me/friends', this.onFacebookFriendsLoaded) |
| 141 | } |
| 142 | |
| 143 | onFacebookFriendsLoaded (response) { |
| 144 | this.facebookData = response.data |
no test coverage detected