-1

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.

CodeShark
  • 1,709
  • 2
  • 14
  • 22
Vivek Molkar
  • 3,910
  • 1
  • 34
  • 46

2 Answers2

0

Did you look into PFUser?

[PFUser currentUser]

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

Chris
  • 3,581
  • 8
  • 30
  • 51
0

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

Vivek Molkar
  • 3,910
  • 1
  • 34
  • 46