在刮取页面以共享信息时,Facebook以外的其他服务是否会使用Open Graph标签?
这意味着,如果我在页面上有一个AddThis按钮(例如),允许共享到Facebook,Google +和Pinterest等,那么任何其他服务是否也会尊重这些元标记?或者通常是我们专门为Facebook做的事情?
facebook opengraph open-graph-protocol google-plus pinterest
我正在寻求澄清有关使用og:type article vs website的个人网页,这在技术上不是"文章",但也不代表整个网站.
文档似乎是矛盾的:
来自https://developers.facebook.com/docs/opengraphprotocol/#types
Use article for any URL that represents transient content - such as a
news article, blog post, photo, video, etc. Do not use website for this
purpose. website and blog are designed to represent an entire site, an
og:type tag with types website or blog should usually only appear on the
root of a domain.
Run Code Online (Sandbox Code Playgroud)
在这种情况下,文章只应用于"瞬态"内容."瞬态"的定义是"仅持续一小段时间".这句话也隐含地说"网站和博客旨在代表一个完整的网站...(和)通常只应出现在域的根目录上."
编辑:有趣的是,描述类型的同一页面也说:
If your URL is a video, you should set og:type to video.
Run Code Online (Sandbox Code Playgroud)
这本身就与视频相关的引用相矛盾.
然而,回到主题,更高,相同的页面也说:
If your …Run Code Online (Sandbox Code Playgroud)
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.frcc.us%2F1197%3Fv%3D3422%26f%3D5
你现在应该看到它有缩略图.但每次我从我的网站发布一个新链接(配置如上例所示)时,缩略图将不会首次显示.我必须刷新,然后缩略图显示.
我应该包括有效的og标签.当我在https://developers.facebook.com/tools/debug上测试我的链接时
有时它会给我一个错误说og:图像应该更大.然后我只需要再次调试它然后错误就消失了.
og:我所有链接的图像都是一样的.我提供了最大的图像1500x1500.链接到图像时没有重定向.
为什么?
首先,我已经阅读了以下主题:
包括这个主题:
dev.anuary.com主机,子域下至少有25个应用程序托管anuary.com.他们都没有要求确认"喜欢"行动.
值得一提的是,还有另一个网站(http://sinonimai.lt)托管在同一台主机上,拥有超过10 000人的粉丝群,最近被Facebook禁用.我没有设法就任何一个问题联系Facebook,因此我只是从后一个网站上取下了喜欢的盒子.希望,暂时.

最烦人的是,即使你确认"喜欢"的动作,"喜欢"也不会被提交.我尝试过多个朋友帐户,不同的浏览器(可能会报错?).
我已经忽略了一个多月了.但它并没有消失.

没有隐藏的叠加层,没有布线元素或任何被认为是"喜欢"按钮元素的异常放置的东西.网站和按钮本身最近才被放置.开放图标签已就位,更改应用ID不会改变行为.
<meta property="og:title" content="Anuary"/>
<meta property="og:type" content="company"/>
<meta property="og:image" content="http://anuary.com/public/images/og-anuary-logo.jpg"/>
<meta property="og:url" content="http://anuary.com"/>
<meta property="fb:app_id" content="128740590570428"/>
<meta property="og:site_name" content="Anuary"/>
<meta property="og:description" content="Anuary is a company of accomplished developers and social media experts. We design engaging and innovative social media campaigns, for web and mobile, that are meant to interact with your targeted audience, through applications, websites, competitions and participation events. The objective being to spread …Run Code Online (Sandbox Code Playgroud) 我的网站指定了多个og:image标签,我想控制哪一个是默认值.它是否与指定顺序有关?
现在,图像以#3,#1,#2(默认为#3)的顺序出现在链接帖子选择器中,这似乎很不寻常.
感谢您提供的任何见解.
HTML 5验证器在我的代码上失败,尽管我遵循了Facebook的文档.有各种各样的问题,但让我们先从一个例子开始.
我正在关注Facebook"入门"文档并使用th5is代码:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://www.facebook.com/2008/fbml">
Run Code Online (Sandbox Code Playgroud)
唯一的区别是我在<!DOCTYPE html>HTML5 之前.通过W3C HTML5验证器运行时,我收到此错误:
Attribute xmlns:og not allowed here
Run Code Online (Sandbox Code Playgroud)
我能想到的唯一错误是:
<!DOCTYPE html>声明中添加某种命名空间.但是,在任何一种情况下我都不知道修复是什么.会爱一些帮助!
这是我看到的情景 -
SoundCloud如何做,似乎是某种重定向技巧,让"og:video"SWF变成JS/HTML5播放器?
我注意到有一个"og:type"的"soundcloud:sound",所以它是某种白名单/ Facebook应用场景吗?
自己尝试一下:
我确实从SoundCloud网站上找到了关于他们如何切换到JS播放器的信息(在旧浏览器上可以追溯到Flash):http://help.soundcloud.com/customer/portal/articles/1219149-where都具有一个最闪光的小部件,gone-
我正在尝试为澳大利亚网站添加og:locale标签,Facebook的linter告诉我,我有一个错误.
根据文档(并假设正确的内容应该是什么),我已将此添加到我的页面头部:
<meta property="og:locale" content="en_AU" />
Run Code Online (Sandbox Code Playgroud)
Facebook的linter(http://developers.facebook.com/tools/debug)告诉我:
URL" http:// foo "类型为"website"的对象无效值对象无效,因为属性"og:locale:locale"的给定值"en_au"无法解析为"enum"类型.
这里发生了什么?en_AU不是澳大利亚的正确代码吗?我也尝试了en_AUS,但也没用.如果我将其更改为en_US,它可以正常工作.
几个月来我们一直在努力解决这个问题但却无济于事.Pinterest上的丰富引脚曾经为我们的网站工作,但突然他们停止工作,一个接一个的所有丰富的引脚(可点击的标题和价格)消失了我们的网站的引脚.
例如,使用此产品,我们在HTML代码的head部分中清楚地预先显示了打开的图形信息:
<meta property="og:type" content="product" />
<meta property="og:title" content="Backless Gray Lace Tulle Flower Girl Dress with Big Bow" />
<meta property="og:description" content="This dress is made of high quality lace and tulle fabric; Unique Cross back with straight neckline in the front; Big ... Shop now use NYC2018 for 9% off TODAY!" />
<meta property="og:url" content="http://www.princessly.com/backless-gray-lace-tulle-flower-girl-dress-with-big-bow.html" />
<meta property="og:site_name" content="Princessly.com" />
<meta property="og:price:amount" content="49.62" />
<meta property="og:price:currency" content="USD" />
<meta property="og:availability" content="instock" />
Run Code Online (Sandbox Code Playgroud)
按他们的丰富针的要求在这里.半年前我们首次在我们的网站上实施它时,这一切都很好.不幸的是由于某种原因它在一个月前停止工作.请参见引脚页面.它不再显示这些丰富的引脚信息.
当我们尝试使用 …
在f8会议 上,Facebook刚刚公布了新的时间表视图.这是基于新的Open-Graph模型
问题是,如何通过API检索这些数据?
检索应解决许多复杂问题:
现在,对我来说,这是不可能的,或者根本不可能.
opengraph ×10
facebook ×8
pinterest ×2
google-plus ×1
html ×1
html5 ×1
share ×1
soundcloud ×1
thumbnails ×1