Facebook Like box和Like按钮返回Error

时间:2011-11-21 19:05:55

标签: facebook-like facebook-social-plugins facebook-likebox

我正在整合FB社交插件 - 比如框和Like按钮(作为iframe) - 在网页上,但它们不起作用。

当我点击“喜欢”框中的“赞”时,我会收到带有链接的“错误”文字,其中会显示一条消息对话框“无法访问https://www.facebook.com/provocateur.eu处的页面。”。

JSON响应是:

for (;;);{"__ar":1,"payload":{"requires_login":false,"success":false,"already_connected":false,"is_admin":false,"show_error":true,"error_info":{"brief":"Website Inaccessible","full":"The page at https:\/\/www.facebook.com\/provocateur.eu could not be reached.","errorUri":"\/connect\/connect_to_node_error.php?title=Website+Inaccessible&body=The+page+at+https\u00253A\u00252F\u00252Fwww.facebook.com\u00252Fprovocateur.eu+could+not+be+reached.&hash=AQARp73z7huT0Eiu"}}}

当我点击Like按钮时,JSON响应为:

for (;;);{"__ar":1,"payload":{"requires_login":false,"success":false,"already_connected":false,"is_admin":false,"show_error":true,"error_info":{"brief":"An error occurred.","full":"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https:\/\/developers.facebook.com\/tools\/lint\/) and fixing any errors.","errorUri":"\/connect\/connect_to_node_error.php?title=An+error+occurred.&body=There+was+an+error+liking+the+page.+If+you+are+the+page+owner\u00252C+please+try+running+your+page+through+the+linter+on+the+Facebook+devsite+\u002528https\u00253A\u00252F\u00252Fdevelopers.facebook.com\u00252Ftools\u00252Flint\u00252F\u002529+and+fixing+any+errors.&hash=AQAFI_8ieMUGPPxS"}}}

这是“Like box”iframe代码:

<iframe frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:240px; height:70px;" src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fprovocateur.eu&width=240&height=70&colorscheme=dark&show_faces=false&border_color&stream=false&header=true&appId=283499041689204"></iframe>

这是“赞按钮”iframe代码:

<iframe frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:203px; height:21px;" src="//www.facebook.com/plugins/like.php?href&amp;send=false&amp;layout=button_count&amp;width=203&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21&amp;appId=283499041689204"></iframe>

管理员和非管理员访问者以及任何浏览器的行为都是相同的。我使用appId 28349904168920创建了与FB页面同名的应用程序。网页的XHTML过渡有效,并且根据FB调试器/ linter它不包含任何错误。 Formely有年龄限制(17岁以上),但我删除了它,目前任何人都可以访问它(13 +)。

网页网址:http://provocateur.eu/

FB页面的URL:在第一条错误消息中

任何帮助appriciated。提前谢谢。

0 个答案:

没有答案