做Facebook以外的服务使用Open Graph? [英] Do services other than Facebook use Open Graph?

查看:129
本文介绍了做Facebook以外的服务使用Open Graph?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了Facebook之外,其他除Facebook之外的其他服务会在抓取页面以分享信息时使用Open Graph标签?



含义如果我有一个AddThis按钮(例如)页面,允许分享到Facebook,Google+和Pinterest等,其他服务中的任何一个也将遵守这些元标记?或者通常是我们专门为Facebook做的事情?

解决方案

答案似乎是... >

由于Open Graph是一种开放式协议,因此并不意味着是具体的Facebook。看来,尽管并不是所有的供应商都可能会尊重这些标签,但大多数人都可以这样做。



以Pinterest为例。如果您使用固定按钮由...提供AddThis ,它将使用og:image,og:description和og:url标签。然而,通过我自己的实验,Pinterest书签并直接通过他们的网站添加似乎没有使用开放图表元数据。



对于Google Plus,这是回答此处。基本上,他们给schema.org最高的权重,但如果不存在,他们将会回到开放的图形标签上,如果不存在,那么它们就会回到页面内容上,比如title等。 / p>

Will other services other than Facebook use Open Graph tags when scraping the page for sharing information?

Meaning, if I have an AddThis button (for example) on a page, which allows sharing to Facebook, Google+, and Pinterest etc., will any of the other services also honor those meta tags? Or is generally something we do specifically for Facebook?

解决方案

The answer appears to be yes... sort of.

Since Open Graph is an open protocol of sorts, it's not meant to be Facebook specific. And it appears that while not all vendors may respect the tags yet, most do.

Take Pinterest for example. If you use the "Pin" button provided by AddThis, it will use the "og:image", "og:description", and "og:url" tags. However, through my own experimentation, the Pinterest bookmarklet and adding directly through their site does not appear to use the open graph metadata.

As for Google Plus, that's answered here. Basically, they give "schema.org" the highest weight, but if they do not exist they will fall back on open graph tags, and if they do not exist they will fall back on page content, like "title", etc.

这篇关于做Facebook以外的服务使用Open Graph?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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