在Facebook上分享页面的具体部分 [英] Share specific section of page on facebook

查看:142
本文介绍了在Facebook上分享页面的具体部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的页面上有多个Facebook共享链接,对应于页面的每个部分。

I have multiple facebook share links on my page, corresponding to each section of the page. Is it possible to provide facebook a unique description for each of these shares?

推荐答案

Facebook检索正在共享的网址,并寻找打开图表元标记的描述。因此,特定网址只能有一个描述。您必须创建不同的URL,以返回不同的OG标签才能实现此目的(尽管URL可能返回相同的内容)。例如,您可以添加一个部分查询参数,导致服务器返回不同的OG描述。每个共享小部件将为该部分设置适当的查询参数。

Facebook retrieves the URL being shared and looks for the Open Graph meta tags for the description. Therefore a specific URL can only have a single description. You would have to create different URLs which returned different OG tags in order to achieve this (although the URLs could return the same content). For example, you could add a section query parameter which causes the server to return different OG descriptions. Each Share widget would set the appropriate query parameter for that section.

这篇关于在Facebook上分享页面的具体部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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