Closed carlpeaslee closed 7 years ago
I was unable to acquire an entire friends list. It may be that facebook does the comparison and returns BT friends that are also FB friends. Regardless, this not a problem because today Ryan and I discussed this. He intended for this to be a tribe invite for BT-using FB friends, not an invite to BT.
Heres is the root 'profile' of what the FB query returns for reference.
Yeah we only need to find mutual friends on Facebook, so the data we have now is fine. We'll use email invites to allow users to invite people NOT using the app.
Here is the file where we are asking for initial scopes. It looks like we are getting facebook friends from users:
https://github.com/BounceTribe/bouncetribe/blob/d7972e27fdcab7ad4e089ae0668e3368e0a04f05/src/utils/auth.js#L77
And here is an example where we are requesting some information about a user's facebook friends:
https://github.com/BounceTribe/bouncetribe/blob/d7972e27fdcab7ad4e089ae0668e3368e0a04f05/src/utils/graphql.js#L130-L177