且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Apache Cordova/Phonegap应用程序上的Facebook点赞按钮

更新时间:2023-02-13 08:31:36

我认为您需要在他们完成登录后收听并重定向回您的应用程序,例如

I think you need to listen to when they've finished logging in and redirect back to you're application some like this.

仅将window.location设置为file:///android_asset/www/index.html之类的内容或要将用户返回到的任何页面.

Only with window.location set to something like file:///android_asset/www/index.html or whatever page you want to return the user to.

<fb:login-button onlogin="document.location.href='file:///android_asset/www/index.html';"> </fb:login-button>

<fb:login-button onlogin="document.location.href='file:///android_asset/www/index.html';"> </fb:login-button>

除了喜欢"按钮外,还可以这样吗?

Something like this but for the like button ?