react-native-instagram-login icon indicating copy to clipboard operation
react-native-instagram-login copied to clipboard

"Continue with Facebook" doesn't work.

Open mniYUNSU opened this issue 3 years ago • 4 comments

Hello, Im Junior Developer from South Korea.

I used this library to authenticate user's Instagram account. Instagram login works well, but "Continue with Facebook" does not work.

How can I succeed in "Continue with Facebook"?

attachment of related video(gif) :

https://cdn.discordapp.com/attachments/845098543580053505/953546796125265940/continue_with_facebook.gif

 <InstagramLogin
        ref={instagramRef}
        appId={config.instagramAppId}
        appSecret={config.instagramAppSecret}
        scopes={['user_profile']}
        redirectUrl={config.instagramRedirectUrl}
        onLoginSuccess={instagramLoginSuccess}
        onLoginFailure={data => console.log(data)}
        language="ko"
        originWhitelist={['*']}
        wrapperStyle={{borderWidth: 0, overflow: 'hidden', borderRadius: 20}}
        incognito={false}
      />

mniYUNSU avatar Mar 16 '22 06:03 mniYUNSU

This problem has been solved.

mniYUNSU avatar Mar 24 '22 01:03 mniYUNSU

Hi @mniYUNSU

How did you solve this issue, I'm still getting "Continue with Facebook" not working in android. As mentioned here: https://github.com/hungdev/react-native-instagram-login/issues/99

RajeshSFS avatar Apr 11 '22 07:04 RajeshSFS

Hi @RajeshSFS

Actually, it hasn't been solved completely. "Continue with Facebook" does not work. Because Facebook Login does not work in WebView.

If you want it to work, react-native-fbsdk must be used.

An example of this problem is TikTok and Tinder. TikTok and Tinder also has Instagram Login, but "Continue with Facebook" does not work...

In other words, Continue with Facebook is not possible with Instagram Login, and only Instagram Login is possible.

mniYUNSU avatar Apr 11 '22 07:04 mniYUNSU

Thanks @mniYUNSU for quick reply. Yes only login with Instagram is working.

RajeshSFS avatar Apr 11 '22 07:04 RajeshSFS