在http://www.btandthetenants.com上,除“照片”部分外,每个页面都可以播放。我使用AJAX来更改当前页面的按钮,并且脚本在包括此页面的每个页面上都能完美地执行。但是,如果您尝试在此页面上单击,则会立即撤消您的操作。头部开放图形的代码(生成的HTML,如果是y)是:
<meta property="og:site_name" content="Brandon Taylor & The Tenants" />
<meta property="fb:admins" content="100000142903767,1290840046" />
<meta property="fb:app_id" content="162010397258435" />
<meta property="og:url" content="http://www.btandthetenants.com/photos" />
<meta property="og:title" content='Brandon Taylor & The Tenants | Photos' />
<meta property="og:type" content="band" />
<meta property="og:image" content="http://www.btandthetenants.com/img/gi.png" />
<meta property="og:description" content="See all of Brandon Taylor & The Tenants' pictures streamed straight from their Facebook page." />
动态类似按钮的代码:
<div id="fb-like"><div class="fb-like fb_edge_widget_with_comment fb_iframe_widget" data-layout="box_count" data-send="false" data-width="35" data-show-faces="false" data-font="arial" data-href="http://www.btandthetenants.com/photos"><span style="height: 62px; width: 45px; "><iframe id="f1603dc7e8" name="f11a7f8ffc" scrolling="no" style="overflow: hidden; height: 62px; width: 45px; border: none; " title="Like this content on Facebook." class="fb_ltr" src="https://www.facebook.com/plugins/like.php?api_key=162010397258435&channel_url=http://static.ak.facebook.com/connect/xd_arbiter.php?version=5#cb=f1d41deae&origin=http://www.btandthetenants.com/f3e64780fc&domain=www.btandthetenants.com&relation=parent.parent&extended_social_context=false&font=arial&href=http://www.btandthetenants.com/photos&layout=box_count&locale=en_US&node_type=link&sdk=joey&send=false&show_faces=false&width=55"></iframe></span></div></div>
我真诚地难过。感谢。
答案 0 :(得分:1)
这是我尝试点击“赞”按钮时页面返回的内容:
for (;;);{"__ar":1,"payload":{"requires_login":false,"success":false,"already_connected":false,"is_admin":false,"show_error":true,"error_info":{"brief":"Cannot see this page","full":"This page is either disabled or not visible to the current user.","errorUri":"\/connect\/connect_to_node_error.php?title=Cannot+see+this+page&body=This+page+is+either+disabled+or+not+visible+to+the+current+user.&hash=AQCKE3RqZ24PrqLg"}}}
这似乎是一个已报告的错误here。另请查看报告相同问题的this question。