开发者

Facebook Request Dialog - Invite to External Website

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜