ufk*_*ufk 6 facebook cross-domain
我正在尝试配置我的Facebook应用程序可以调整大小.
http://wiki.developers.facebook.com/index.php/Resizable_IFrame上的文档
谈论facebook连接跨域接收器URL.
在JS代码中,我需要输入'site relative url to xd_receiver.htm'.
那是什么?
那个HTML文件应该是什么代码?
谢谢
这是保存到本地Web服务器的文件.它允许Facebook保存您有权访问的cookie.基本上,它允许Facebook Connect工作.
最简单的方法就是将其放在您的Web根目录中(http://example.com/xd_receiver.htm)
该文件应包含以下内容:
<!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>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8942 次 |
| 最近记录: |