开发者

Facebook Request Dialog - Invite to External Website

开发者 https://www.devze.com 2023-04-07 10:42 出处:网络
FB.init({ appId:\'Application ID\', cookie:true, status:true, xfbml:true }); FB.ui({ method: \'apprequests\', message: \'Here is a new Requests dialog...\'});

FB.init({ appId:'Application ID', cookie:true, status:true, xfbml:true });

FB.ui({ method: 'apprequests', message: 'Here is a new Requests dialog...'});

How to redirect the user to my external webs开发者_JAVA技巧ite rather than the Canvas Page inside facebook?


There are a couple posts about this online that suggest making a dummy canvas page that sets

window.location.top = 'yoursiteurl'

... but this does not seem satisfactory to me. Facebook docs are wildly unclear about whether external website ("Facebook Connect") devs are encouraged to use requests.

0

精彩评论

暂无评论...
验证码 换一张
取 消