Facebook 和标签

发布于 2025-01-01 07:30:23 字数 604 浏览 1 评论 0原文

我正在使用 facebook og 元标签作为“赞”按钮。我在developers.facebook.com上读到,注册了50个赞后,og:title标签将不会更新。我的问题是我网站的网址(以 og:url 形式)是否为 http://abc.com/somthing .do?param1&param2... 等等,这些参数采用不同的值,但来到同一页面。do? - 仍会被视为一页还是会被视为 2 个不同的网址?

例如 1. http://abc.com/somthing.do?param1&param2 2. http://abc.com/somthing.do?param3&param4

将 1 & 2 被视为来自同一页面还是不同页面的点赞?

帮助表示赞赏。

I am using the facebook og meta tags for a like button . I read on developers.facebook.com that the og:title tag will not update after 50 likes are registered. My question is if my site's url (in og:url) is http://abc.com/somthing.do?param1¶m2... etc etc, and these params take different values, but come to the same page something.do? - will it be still considered as one page or will they be considered as 2 different urls ?

so for example
1. http://abc.com/somthing.do?param1¶m2
2. http://abc.com/somthing.do?param3¶m4

Will 1 & 2 be treated as likes coming from the same page or different pages ?

Help appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

じее 2025-01-08 07:30:23

这取决于规范 url,又名。 og:url 标签。

如果og:url中的url有不同的url,Facebook将再次从og:url url获取数据。因此,如果 a.co?param1¶m2 具有 og:url a.co 那么 facebook 将前往 a.co 获取 og 标签,否则不会。

您可以在调试器中测试这些内容;

It depends on the canonical url, aka. the og:url tag.

If a url has a different url in og:url, Facebook will go fetch the data again from the og:url url. So if a.co?param1¶m2 has og:url a.co then facebook will go to a.co to get the og tags, otherwise it won't.

You can test these things in the debugger;

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文