1

I logged in through the Facebook app. Now I want to show events in UIWebView. when I sent the Url to UIWebView, it ask for Facebook login. But I am already logged from the app.

I don't have any idea how to pass access token in UIWebView and retrieve that event page with authenticated user.

Vibha Thakur
  • 171
  • 1
  • 1
  • 10
  • Sharing login information between the native FB app and the browser is not possible. – CBroe Apr 27 '16 at 17:21
  • @CBroe Is there any other way to login with authenticated Facebook user in UIWebview? – Vibha Thakur Apr 28 '16 at 06:29
  • No, there is not. / As an alternative, look at the URL schemes the FB app offers, maybe you can open it directly inside the app instead. http://stackoverflow.com/questions/5707722/what-are-all-the-custom-url-schemes-supported-by-the-facebook-iphone-app – CBroe Apr 28 '16 at 07:24
  • 1
    @CBroe If i will logged in through the safari, then is there any way to pass access token to UiwebView? – Vibha Thakur Apr 28 '16 at 08:32
  • Not that I know of; a webview is a separate component, and has little to do with the “normal” browser. – CBroe Apr 28 '16 at 09:34
  • @CBroe thanks for your support – Vibha Thakur Apr 28 '16 at 10:40
  • @CBroe is there any way to display the event page of Facebook within the app so that user does not need to leave the app. By URL scheme, it takes to the facebook app and then display the event page. – Vibha Thakur May 06 '16 at 05:19

0 Answers0