Wizcorp/phonegap-facebook-plugin

Login from Twitter, Pinterrest, Pages inapp browser failes on IOS

Jempan opened this issue · 0 comments

Part of my marketing strategy is for users to share a link to my app in different social media apps. The problem is that when this link is clicked in for example Twitter, Pinterrest etc my web app is opened in their inapp browsers and when the users click login the facebookplugin.login() gives them a blank window (see below image). This happens only in Twitter/Pinterrest on iPhone not Android. Another interresting thing is that links opened in Messenger and Facebook inapp browser works correctly.

This is definitely not my area of expertise but I suppose the problem lies in that some webviews (inapp browsers) does not handle redirects and popups well? What is the best solution or workaround here if I want to avoid to put new users in that very confusing blank window situation?

img_2776