添加“赞”时出错个人网站上的按钮

发布于 2024-11-06 21:34:25 字数 1350 浏览 2 评论 0原文

实施“喜欢”按钮后不断出现以下错误:

您未能提供有效的管理员列表。您需要使用“fb:app_id”元标记向管理员提供,或使用“fb:admins”元标记来指定以逗号分隔的 Facebook 用户列表。

这是我的代码:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:og="http://ogp.me/ns#"
  xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta property="og:title" content="Mark Rapp: compare arrangement with Isfahan original" />
<meta property="og:type" content="musician" />
<meta property="og:url" content="http://www.markrapp.com/bradenrapp/isfahan.html" />
<meta property="og:image" content="http://www.markrapp.com/images/markrapp.gif" />
<meta property="og:site_name" content="Mark Rapp web site" />
<meta property="fb:admins" content="544808239" />
<meta property="og:description" content="Compare Mark Rapp's arrangement with Billy Strayhorn's Isfahan original" />

...然后在页面中...

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=114617051955611&amp;xfbml=1"></script><fb:like href="http://www.markrapp.com" send="false" width="300" show_faces="false" font="tahoma"></fb:like>

因此,它似乎渲染得很好,但单击“喜欢”按钮会显示一条消息,上面写着“您喜欢这个”。然后在它旁边有一个错误链接,引用上面的消息。此外,它并不反映我“喜欢”我的 Facebook 个人资料中的页面。

有什么想法吗?

谢谢

Constantly getting the following error after implementing the "Like" button:

You failed to provide a valid list of administators. You need to supply the administors using either a "fb:app_id" meta tag, or using a "fb:admins" meta tag to specify a comma-delimited list of Facebook users.

Here's my code:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:og="http://ogp.me/ns#"
  xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta property="og:title" content="Mark Rapp: compare arrangement with Isfahan original" />
<meta property="og:type" content="musician" />
<meta property="og:url" content="http://www.markrapp.com/bradenrapp/isfahan.html" />
<meta property="og:image" content="http://www.markrapp.com/images/markrapp.gif" />
<meta property="og:site_name" content="Mark Rapp web site" />
<meta property="fb:admins" content="544808239" />
<meta property="og:description" content="Compare Mark Rapp's arrangement with Billy Strayhorn's Isfahan original" />

... and then in the page...

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=114617051955611&xfbml=1"></script><fb:like href="http://www.markrapp.com" send="false" width="300" show_faces="false" font="tahoma"></fb:like>

So, it seems to render fine, but clicking on the "like" button results in a message that reads "You like this." And then beside it an error link which refers to the message above. Furthermore, it does not reflect that I "liked" the page n my Facebook profile.

Any ideas?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文