Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Facebook authentication return object missing object members #114

Closed
Sulman633 opened this issue Aug 27, 2016 · 3 comments
Closed

Facebook authentication return object missing object members #114

Sulman633 opened this issue Aug 27, 2016 · 3 comments

Comments

@Sulman633
Copy link

Hi, I have Facebook authentication working with the firebase plugin but it doesn't seem to be returning an object with all the object members that the Facebook SDK says it will return when using public_profile. Link to Facebook public profile: https://developers.facebook.com/docs/facebook-login/permissions#reference-public_profile

fblogincode

As you can see not all the object members are present? Is this intended behavior?
objectmembers
Note: I also had to suppress object type error for intended scope since it was throwing an error(look below)
error

I used the following compiler option in tsconfig file for typescript to suppress that warning:

suppresserror

@Sulman633
Copy link
Author

Also what is the token property on the returned object supposed to be? Since mine is empty. I would have thought it would be a token from from Facebook?

@Sulman633
Copy link
Author

@EddyVerbruggen Could you please elaborate further?

@EddyVerbruggen
Copy link
Owner

@Sulman633 I fixed the TS error you mentioned. That's all at this point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants