user4408936
user4408936

Reputation: 53

How to get facebook user information like name and profile picture in Azure Mobile Apps Authentication in android?

I am using Azure Mobile Apps authentication with Facebook in my app. The log in and log out is fine. I can log in with my Facebook but I am having trouble getting additional Facebook details like my profile name and picture. How can I access it with android code?

Upvotes: 1

Views: 259

Answers (1)

Adrian Hall
Adrian Hall

Reputation: 8035

If you are using client-flow (i.e. the facebook SDK), then just call the facebook graph.

If you are using server-flow, the facebook token is available from the /.auth/me endpoint on your Azure App Service - you can use that for your facebook graph calls.

Upvotes: 2

Related Questions