Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Social Login User Data

$
0
0
Hello James,

Thank you for posting your findings to the forum.

Indeed, newly-created Facebook Apps will be automatically bound to version 2.4 of the Facebook API. This means that the Identity object in user accounts in a Backend Services project would be populated with the Facebook id and name of the user account. However, the identity of the user is verified and the user account is successfully created in the backend project.

If a developer needs to retrieve further details which the app user has granted to the app (email, birthday, country), this can be achieved by accessing the Facebook Graph API directly with a GET HTTP call like this:

https://graph.facebook.com/me?access_token=<access-token-here>&fields=email, first_name

The Facebook plugin also has utility methods that can allow the developer to obtain a token on behalf of the user and with a certain scope and read user data from the Graph API.

Let me know if further questions arise.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 

Viewing all articles
Browse latest Browse all 94857

Trending Articles