Facebook sdk LikeView. How to ignore the installed Facebook app

I want to ignore official Facebook app when perform like/login/share actions as if the application is not installed.

For ShareDialog I can do this:

dialog.show(content, ShareDialog.Mode.WEB);

But how can I forbid facebook app for the LikeView's following confirmation dialog (and login dialog, if not authorized)?

Upvotes: 0

Views: 117

Answers (1)

Paulo Taylor
Paulo Taylor

Reputation: 744

Try something like this:

LoginManager.getInstance().setLoginBehavior(LoginBehavior.WEB_ONLY);

Upvotes: 1

Related Questions