I want to save the facebook account to ACAccountStore
in iOS,
- I will get
accessTocken
from facebookSDK but how to obtain tocken and secret - How to save it to
ACAccountStore
Thanks in Advance.
------ Edit--------
I have an application that uses facebook to login and after with login information need to share photos that he selected. My use cases are,
If account already in settings app then I can use it for login and share.
User using safari or webview for login then how I can proceed for sharing.
a. facebook SDK says If the user need to use OS integrated share controller then,
login method used to authenticate the user must be native iOS 6.0 authentication.
.b. If I need to share option that provided by facebook SDK uses facebook App I don't want this option because I want to avoid App switching as much as possible.
How to solve this..
to do it you should have an accesstoken and secret,