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.
精彩评论