We're developing an app for iOS and Android that has a rather odd requirement. One of the tabs of the app opens up the client's Facebook page. So here's our desired functionality:
- The user logs in using Facebook's SDKs (for iPhone and Android)
- We retrieve the access token and our application flow starts
- When the user clicks the Facebook Page tab we load a UIWebView pointing to the URL of Facebook page.
- The user should be able to interact with the Facebook page right away.
So what happens is steps 1-3 work normally. However, because this UIWebView
hasn't been authenticated on Facebook before, it doesn't have a valid session. Hence the user is required to login again in this web view in order to interact with the page.
Is there a way to use the token that we have from the Facebook login process when loading the UIWebView
in order to avoid having to sign in again?
Thanks.