capacitor-community / facebook-login

Facebook Login support
MIT License
103 stars 54 forks source link

feat: allow to fetch logged in profile data #24

Closed vildhjarta8 closed 3 years ago

vildhjarta8 commented 3 years ago

Any suggestions and improvements are welcome since it is my first meeting with the native part. I didn't update an example project since I checked Android and iOS on my project via the symlink, since it already configured.

The PR adds the method called getProfile with utilizes the current access token to send the Graph API request via FB SDK to retrieve information about the connected user.

It closes #23.

rdlabo commented 3 years ago

@vildhjarta8 This function seems good👀 I will review it soon.

rdlabo commented 3 years ago

@all-contributors please add @vildhjarta8 for code

allcontributors[bot] commented 3 years ago

@rdlabo

I've put up a pull request to add @vildhjarta8! :tada: