开发者

facebook-api: what's Facebook Connect cross-domain receiver URL?

I'm trying to configure that my facebook application will be resizeable.

The docs at http://wiki.developers.facebook.com/index.php/Resizable_IFrame

talk about facebook connect cross-domain receiver URL.

and in the JS code i need to enter the 'site relative url to xd_receiver.htm'.

what's that?

wha开发者_JAVA百科t code should be in that HTML file ?

thanks


This is a file saved to your local web server. It allows Facebook to save a cookie that you have access to. Basically, it allows Facebook Connect to work.

Easiest thing to do is just place it in your web root (http://example.com/xd_receiver.htm)

This file should contain the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head> 
    <title>Cross-Domain Receiver Page</title> 
</head> 
<body> 
    <script src="http://static.ak.facebook.com/js/api_lib/v0.4/XdCommReceiver.js?v2" type="text/javascript"></script> 
</body> 
</html> 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜