Facebook开放图元标记的最大内容长度 [英] Facebook open graph meta tags maximum content length

查看:64
本文介绍了Facebook开放图元标记的最大内容长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道每个Facebook开放图元标记的最大有效长度吗?

Does anyone know the maximum valid length for each of Facebook's open graph meta tags?

http://ogp.me/上的meta标签的描述未列出最大长度,仅列出了最大长度诸如"og:description meta标签"的描述,例如对象的一到两个句子描述".

The description of the meta tags on http://ogp.me/ does not list maximum lengths, only general descriptions such as "A one to two sentence description of your object" for the og:description meta tag.

据我了解,一般而言,元标记没有最大内容长度,只是出于SEO原因而建议将它们保持在一定的长度内.

From what I understand, there is no maximum content length for meta tags in general, just recommendations to keep them under certain lengths for SEO reasons.

我很想知道是否存在硬限制,以及发布到Facebook的链接上可见的限制是什么.

I'd be curious to know if there is a hard limit and what the limits are for what is visible on a link posted to Facebook.

推荐答案

您可以在其中放置的数据没有硬性限制,但是在各种渲染位置,Facebook都会对其进行限制.新闻订阅源中的限制与股票行情中的限制不同,后者与时间轴上的限制不同.

There isn't a hard limit on the data you can put there, but in various rendering places Facebook will limit it. The limit in news feed is different from the limit in Ticker which is different than the limit on timeline.

只需在其中放置正确的内容,我们就会在渲染时将其截断.

Just put the correct content in there and we'll truncate it when rendering.

这篇关于Facebook开放图元标记的最大内容长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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