[英]Facebook Sharer doesn't display correct description
I'm building a very simple generate-and-share web app (www.startupgenerator.eu). 我正在构建一个非常简单的生成和共享Web应用程序(www.startupgenerator.eu)。 I'm using classic sharer.php FB tool.
我正在使用经典的sharer.php FB工具。
I'm passing a value (c) via QueryString. 我通过QueryString传递值(c)。 This is the encrypted phrase that will be displayed as value for meta description and open graph og:description.
这是加密短语,将显示为元描述和打开图og:description的值。 Moreover;
此外; if a value is present in c variable, the og:title will contain a different value.
如果c变量中存在值,则og:title将包含其他值。
Anyway, it doesn't work with fb sharer. 无论如何,它与fb sharer不兼容。 When a user opens the sharer popup (via clicking the share button on the website; or via direct paste in his timeline), Facebook loads only the standard description and the standard title.
当用户打开共享器弹出窗口(通过单击网站上的共享按钮;或通过在其时间轴中直接粘贴)时,Facebook仅加载标准描述和标准标题。 It seems like FB has already cached the values, and doesn't make the request with the "custom" c query string value.
似乎FB已经缓存了值,并且没有使用“自定义” c查询字符串值发出请求。
How come? 怎么会? Thanks in advance for help.
在此先感谢您的帮助。
我找到了正确的方法:在Facebook上自定义故事 : https : //developers.facebook.com/docs/opengraph/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.