← Back to list

If user does not have FB app on the phone, fbsdk takes care that automically and shows the “web”…

One way to solve your problem is to enforce “web” login screen instead of “native”. But I would suggest to do that only after logout…

Tasos Maroudas · 2018-10-15 14:26 · 1 claps · 0.4 min read
#react-native #fbsdk #app-development #ios-app-development #android-app-development
Open on Medium ↗
Wiki topics: 🌐 · Web Development 📱 · Mobile Development

If user does not have FB app on the phone, fbsdk takes care that automically and shows the “web” login interface instead of the “native” one.

One way to solve your problem is to enforce “web” login screen instead of “native”. But I would suggest to do that only after logout. Because users that have FB app and will be irritated if they don’t login automatically. Or maybe when users logout, only then intoduce an extra button that will prompt them to login as another FB user. When user clicks this new button, you will always show the “web” login screen.

LoginManager.setLoginBehavior('WEB_ONLY');

메타데이터
post_id
75d72d3ac17e
slug
if-user-does-not-have-fb-app-on-the-phone-fbsdk-takes-care-that-automically-and-shows-the-web-75d72d3ac17e
url
https://medium.com/@jeevium/if-user-does-not-have-fb-app-on-the-phone-fbsdk-takes-care-that-automically-and-shows-the-web-75d72d3ac17e
canonical_url
https://medium.com/@jeevium/if-user-does-not-have-fb-app-on-the-phone-fbsdk-takes-care-that-automically-and-shows-the-web-75d72d3ac17e
author_url
https://medium.com/@jeevium
status
ok
fetched_at
2026-07-29 23:05:25