页面上的 Facebook Like 按钮标题

发布于 2024-09-28 21:19:51 字数 675 浏览 1 评论 0原文

你好 我在我的应用程序上设置了一个“赞”按钮。应用程序中某一页面的链接是

http://apps.facebook.com/heyulike/post3.php?id=4

如果您点击“赞”按钮,然后检查您的个人资料,您会看到类似以下内容:

名字喜欢heyulike上的Cool Pos

除了我的php代码之外,一切都很好,在标题中的Cool Pos之后我也有实际的帖子。在本例中,该帖子称为 something 。因此,在我的个人资料上显示的正确方式应该是

名字喜欢酷Pos上heyulike上的东西

但由于某种原因这个字符串总是从标题标签中省略,或者更确切地说它存在于标题标签中但 fb 没有显示它。 我通过转到主网址(即)确认它确实出现在标题标签中

http://www.conceptscentral.com/ulike/post3.php?id=4

如果您查看源代码并检查标题标签,您会看到它说 Cool Pos 某事

我该如何解决这个问题?

谢谢

Hello
I have a like button set up on my app. The link to one of the pages in the app is

http://apps.facebook.com/heyulike/post3.php?id=4

If you click on the like button and then check your profile, you will see something like :

Name likes Cool Pos on heyulike

Everything is fine about this except in my php code, after Cool Pos in the title i have the actual post as well. In this case the post is called something . Hence the correct way this should display on my profile should be

Name likes Cool Pos something on heyulike

But for some reason this string is always being omitted from the title tag or rather it is there in the title tag but fb is not displaying it.
I confirmed that it does infact appear in the title tag by going to the main url i.e.

http://www.conceptscentral.com/ulike/post3.php?id=4

If you view source and check the title tag you will see it says Cool Pos something

How can i fix this?

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多情出卖 2024-10-05 21:19:52

我认为您错过了添加 标签。 </code> 标记必须位于 <code><head></code> 标记内。

I think you missed to add <head> and <body> tags. The <title> tag must be inside the <head> tag.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文