Facebook 和标签
我正在使用 facebook og 元标签作为“赞”按钮。我在developers.facebook.com上读到,注册了50个赞后,og:title标签将不会更新。我的问题是我网站的网址(以 og:url 形式)是否为 http://abc.com/somthing .do?param1¶m2... 等等,这些参数采用不同的值,但来到同一页面。do? - 仍会被视为一页还是会被视为 2 个不同的网址?
例如 1. http://abc.com/somthing.do?param1¶m2 2. http://abc.com/somthing.do?param3¶m4
将 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于规范 url,又名。
og:url
标签。如果
og:url
中的url有不同的url,Facebook将再次从og:url
url获取数据。因此,如果a.co?param1¶m2
具有 og:urla.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 theog:url
url. So ifa.co?param1¶m2
has og:urla.co
then facebook will go toa.co
to get the og tags, otherwise it won't.You can test these things in the debugger;