質問

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.

役に立ちましたか?

解決 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

他のヒント

Did you look into PFUser?

[PFUser currentUser]

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top