小编Ros*_*ale的帖子

Facebook喜欢按钮问题

我们在使用我们的按钮工作时遇到了一些麻烦.它似乎在上周工作,但突然它停止工作.

基本上点击"赞"时,我们会收到错误消息:

您未能提供有效的管理员列表.您需要使用"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>
Run Code Online (Sandbox Code Playgroud)

facebook facebook-graph-api facebook-opengraph

8
推荐指数
1
解决办法
4631
查看次数