Share specific section of page on facebook

前提是你 提交于 2019-12-11 04:02:01

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/22185513/share-specific-section-of-page-on-facebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!