简体   繁体   中英

Unity3d Facebook SDK login with browser

I am creating a game application using Unity3d tool. In that I shared some texts and photos in Facebook. So that I have used Facebook SDK(Prime31).

Case 1: Facebook app already installed

    If login the facebook from my app, the facebook application's login screen is opened.

Case 2: Facebook not installed

    If login the facebook from my app, the browser will open the facebook login screen.

My question: Is it possible to open the browser window for facebook login even the Facebook app already installed ?

Reason: If I use the case 2, the facebook login is success. But If I use the case 1, the facebook login is failed and it shows the "Invalid access token error". This is happened only in the "HTC" mobile devices. So I want to use case 2 even facebook app installed in the device.

If possible Can you give me the steps to do that?

You better ask them here instead of asking people on StackOverflow. Ask them on forum, PM or Email them on their page.

Only Facebook's SDK chooses how authentication occurs. We couldn't choose that one.

Finally I got this answer from Prime31 plugin forum.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM