如何更改已发布链接的描述内容
我最近在我的网页上添加了一些 Facebook 内容,启用了“喜欢”和“发送”按钮,可在此处找到:http://developers.facebook.com/docs/reference/plugins/like/,到我的网页。
我发现当我“喜欢”我的网页并且状态出现在我的 Facebook 墙上时,链接标题下显示的描述与我的元标签的描述不匹配。这个描述是从哪里来的?有办法改变吗?
我添加和更改了元标记的几种样式(元标题、元名称、元描述等)。似乎没有什么可以改变这个描述。在测试新内容后,我还清理了 Safari 缓存,但运气不佳。
我知道我正在看问题。
如果您查看链接的源代码,您会发现没有任何说明。
如有需要请向我索要网站地址。
请帮忙?谢谢。
I've recently added some Facebook content to my webpage, enabling the "like" and "send" buttons, found here: http://developers.facebook.com/docs/reference/plugins/like/, to my webpage.
I find when I 'like' my webpage, and the status appears on my Facebook wall, the description shown under the link-title does not match what my meta-tags are described as. Where is this description coming from? Is there a way to change it?
I've added and changed several styles of meta tags (meta title, meta name, meta description, etc). Nothing seems to change this description. I've also cleaned my Safari caché after testing new content, with no more luck.
I know I'm looking right at the problem.
If you look at the link's source code, you can see there is no indication of this description.
Please ask me for the website address if necessary.
Please help? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这个答案来得有点晚了,但 Facebook 在内部缓存了所有页面。 Facebook 读取标签的最简单方法是访问 http://developers.facebook.com/tools/debug 来抓取网站 并输入您网站的 URL。这将解决该问题。
This answer comes a little late but Facebook caches all pages internally. The easiest way for facebook to read your tags is to scrape the website by going to http://developers.facebook.com/tools/debug and entering the URL of your website. This will fix the issue.
您需要做的是将正确的 og:tags 放入您的页面中...此链接会告诉您根据您拥有的内容在页面上放置哪些标签。还有 facebook url linter,您可以用它来测试您的 og:tags...
希望这有帮助!
祝你好运!
What you need to do is place the correct og:tags into your page...This link will tell you what tags to place on your page according to the content you have. There is also the facebook url linter that you can use to test your og:tags...
Hope this helps!
Good luck!
我有点不清楚你的问题到底是什么,但是在 http://developers .facebook.com/docs/reference/plugins/like/ 步骤 2 - 获取开放图标签,它将使用正确的语法生成适当的元标签。如果用这种方法不能解决问题,我建议研究一下 PHP Facebook API,因为我遇到了很多问题,坦率地说,我懒得用 JavaScript Facebook 的东西来解决这些问题,我可以轻松地纠正和设计PHP版本。希望这至少为您指明了正确的方向。也许还有一些代码,是吗?
编辑 2:我也想到,如果您有 Facebook 页面,信息将从那里提取。但是,如果您不这样做并且正在尝试使用网站链接,您可以/应该制作一个用于网页的 Facebook 应用程序,该应用程序将允许您自定义描述、标题等以及您可能喜欢的所有其他爵士乐有麻烦。
I'm a bit unclear about what exactly your problem is, but on http://developers.facebook.com/docs/reference/plugins/like/ Step 2 - Get Open Graph Tags, it will generate the appropriate meta tags with the correct syntax. If the problem isn't fixed with that method, I would suggest looking into the PHP Facebook API because I had a lot of problems that I was frankly too lazy to figure out with the JavaScript Facebook stuff that I could easily correct and design with the PHP version. Hopefully this at least points you in the right direction. Maybe some code too, ya?
EDIT 2: It just occurred to me as well that, if you have a Facebook Page, the information will be pulled from there. However, if you don't and are trying to use a link to a website, you can/should make a Facebook App for Webpages that will allow you to customize the description, title, etc. and all that other jazz you're probably having troubles with.