【发布时间】:2015-01-04 07:00:18
【问题描述】:
我目前正在开发一个桌面 AIR 应用程序,我使用 HTMLLoader,它是 Adobe AIR 的内置浏览器。
每次我将like按钮加载到HTMLLoader时,控制台都会给我下面的日志
“错误:SECURITY_ERR:DOM 异常 18 我在http://www.facebook.com/v2.0/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width&layout=standard&action=like&show_faces=true&share=true&height=80&ret=async&act=disconnect&hash=AQC_IDCnIpaA724U:3 在http://www.facebook.com/v2.0/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&width&layout=standard&action=like&show_faces=true&share=true&height=80&ret=async&act=disconnect&hash=AQC_IDCnIpaA724U:3"
由于出现错误,我无法配置 FB.Event.subscribe('edge.create', function(response) {} 来检查用户是否喜欢该对象。
如果有人有办法解决这个问题,请帮忙
【问题讨论】:
标签: facebook actionscript-3 flash air facebook-like