Question

I am working on a sample project, where I need to find Facebook account stored in settings app.I am using Facebook SDK. I have tried using ACAccountStore but it returns an empty NSArray of accounts. Is this the right way or am I missing something.

Was it helpful?

Solution 2

After some investigation on Facebook SDK I found a solution. The path which I was following was different and the thing that I found after some investigation was different but a easy one. Facebook provides.

  1. FacebookLoginView: Uses prebuilt ui components to authenticate user stored in Facebook app.

  2. FBSession:Facebook login to your app using your own custom UI for the login and logout controls

OTHER TIPS

Did you look into PFUser?

[PFUser currentUser]

https://www.parse.com/docs/ios/api/Classes/PFUser.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top