我们在让我们的点赞按钮工作时遇到了一些麻烦。上周它似乎工作,但突然停止工作。
基本上,当单击“Like”时,我们会收到一条错误消息:
您未能提供有效的管理员列表。您需要使用“fb:app_id”元标记或使用“fb:admins”元标记来指定以逗号分隔的 Facebook 用户列表的管理员。
我们的<head>
部分如下所示:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
<head>
<meta property="fb:app_id" content="number"/>
<meta property="fb:admins" content="number"/>
<meta property="og:title" content="title"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="url with trailing slash"/>
<meta property="og:image" content="url to image"/>
<meta property="og:site_name" content="Site Name"/>
</head>