Fetch Facebook User Profile Details in Swift - Swift Developer Blog

In this short Swift code example we will use FBSDKGraphRequest from Facebook iOS SDK to fetch user profile details. The code example on this page will cover: Import FBSDKCoreKit and FBSDKLoginKit Get Facebook access token with FBSDKAccessToken.currentAccessToken() Use FBSDKGraphRequest to fetch Facebook user profile details including email address and profile picture Display Facebook user full…

To let user login into your app with their Facebook account and for your app be able to fetch their public profile details and email address, use the code snipped  ...

Lee mas