Angularfire 脸书 user_friends
Angularfire facebook user_friends
将 facebook 身份验证与 angularFire 结合使用,我在返回的 Auth 对象中没有看到 "user_friends"。
ng-点击="auth.$authWithOAuthPopup('facebook',{scope:'user_friends'})"
这对于获取 uid 非常有效,我看到包含 "accessToken"、"cachedUserProfile" 等的 facebook 对象,但没有 "user_friends"。
这里有人对 "email" 对象有类似的问题:
我是不是遗漏了什么或者这是一个错误?
感谢任何help/guidance。
所以事实证明你可以转身使用那个令牌来点击 facebook Graph API 就像这样...
$http.get("https://graph.facebook.com/v2.0/me?fields=friends&access_token="+authData.facebook.accessToken)
将 facebook 身份验证与 angularFire 结合使用,我在返回的 Auth 对象中没有看到 "user_friends"。
ng-点击="auth.$authWithOAuthPopup('facebook',{scope:'user_friends'})"
这对于获取 uid 非常有效,我看到包含 "accessToken"、"cachedUserProfile" 等的 facebook 对象,但没有 "user_friends"。
这里有人对 "email" 对象有类似的问题:
我是不是遗漏了什么或者这是一个错误?
感谢任何help/guidance。
所以事实证明你可以转身使用那个令牌来点击 facebook Graph API 就像这样...
$http.get("https://graph.facebook.com/v2.0/me?fields=friends&access_token="+authData.facebook.accessToken)