否& quot;管理页面"Facebook上的链接网页上的“喜欢"按钮 [英] No "Admin Page" link on Facebook Like button on a web page

查看:59
本文介绍了否& quot;管理页面"Facebook上的链接网页上的“喜欢"按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Facebook之类的按钮的网站.

I have a website that uses the Facebook like button.

我试图使管理"链接显示在页面上,以便将内容推送给喜欢该页面的人.

I am attempting to get the "Administration" link to show up on the page so that I can push content to people who like the page.

我页面的HTML命名空间如下:

My page's HTML namespace is like:

<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#">

我的元标记如下:

<link rev="canonical" href="http://mysite.com/welcome/" />

<meta property="og:locale" content="en_US" /> 
<meta property="og:site_name" content="MySite" />
<meta property="fb:app_id" content="012345678910" />    
<meta property="og:title" content="Name of my page" />
<meta property="og:description" content="Description here..." />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://mysite.com/welcome/" />
<meta property="og:image" content="http://mysite.com/path/to/image.jpg" />

我已经使用 Facebook调试lint 检查了该页面,并且该页面通过了,没有任何警告或错误.我是该应用程序的管理员.

I have checked the page with the Facebook debugging linter and it passes without any warnings or errors. I am an admin of the app.

我在做什么错了?

注意::我还尝试将< meta属性="fb:admins" content ="01234567"/> 放入徒劳无功.我还尝试了不同的 xmlns 标记,甚至没有任何 xmlns 标记.

Note: I've also tried to put the <meta property="fb:admins" content="01234567" /> in to no avail. I've also tried different xmlns tags and even without any xmlns tags.

推荐答案

看来,问题出在< html> 元素中有错误的xmlns标签.

It appeared that the problem stemmed from having the wrong xmlns tags in the <html> element.

我有一个自定义的 xmlns 标记,该标记会将喜欢发送给错误的图表(我相信...).

I had a custom xmlns tag that was sending likes to the wrong graph (I believe...).

当前有效的标签为:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">

更改后,喜欢的页面将显示管理"链接.

After this change, liking a page would show up the Administration link.

感谢您的回复!

这篇关于否&amp; quot;管理页面&quot;Facebook上的链接网页上的“喜欢"按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆