创建 Facebook 分享按钮,无需自动自定义

发布于 2024-10-16 00:37:20 字数 401 浏览 5 评论 0原文

我正在使用以下说明创建自己的 Facebook 按钮:

http://www.kimwoodbridge.com/how-to-create-your-one-facebook-share-url/

但是,我的标题和元信息被 Facebook 自动获取的信息所取代。

换句话说,我使用 &t=</code> 附加的描述被 Facebook 替换为自动检索的页面标题。

我怎样才能禁用它?

谢谢

I'm creating my own Facebook button by using the following istructions:

http://www.kimwoodbridge.com/how-to-create-your-one-facebook-share-url/

However my title and meta-information is replaced by the information automatically fetched by Facebook.

In other words, the description I append using &t=<title of content>, is replaced by Facebook with the automatically retrieved page title.

How can I disable this ?

thanks

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

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

发布评论

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

评论(3

神仙妹妹 2024-10-23 00:37:20

如果我很理解你,你问如何更改页面标题 http:// /www.facebook.com/sharer.php?u=URL&t=TITLE

在您想要添加 facebook 链接的页面上,您可以使用:

<head>
<title>your title</title>
</head>
<body>
<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>
</body>

并将出现“您的标题”标题。

当有人点击该链接时,浏览器会将他重定向到 http://www. facebook.com/sharer.php?u=URL&t=TITLE 页面,他不再出现在您的网站上。您无法更改 Facebook 页面的布局,也无法更改 Facebook 标题等。

你唯一能做的就是删除 &t=TITLE。在这种情况下:

<a href="http://www.facebook.com/sharer.php?u=URL" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>

If I understood you well, you asked how to change the page title http://www.facebook.com/sharer.php?u=URL&t=TITLE

On your page, where you want to add facebook link, you can use:

<head>
<title>your title</title>
</head>
<body>
<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>
</body>

and "your title" title, will appear.

When someone click on that link, browser redirect him to http://www.facebook.com/sharer.php?u=URL&t=TITLE page, and he isn't more on your web site. You can't change layout of facebook page, also can't change facebook title and others.

Only what you can do is to delete &t=TITLE. In this case:

<a href="http://www.facebook.com/sharer.php?u=URL" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>
玩套路吗 2024-10-23 00:37:20

好的。参数 &t 如何工作。
如果 Facebook 无法访问该页面,则会使用“t”参数。因此,您可能需要提供一个“t”,以防 Facebook 尝试连接时出现网络问题。

在所有其他情况下,Facebook 都会使用您的:

<meta name="title" content="your title" />
<meta name="description" content="your content" />

作为拇指,

<link rel="image_src" href="http://www.example.com/image.jpg" />

现在可以吗?

OK. How parameter &t works.
If Facebook is unable to reach the page, then it will use the "t" parameter instead. So you’ll probably want to provide a "t" just in case there is a network problem when Facebook tries to connect.

In all other cases, Facebook will use your:

<meta name="title" content="your title" />
<meta name="description" content="your content" />

for thumb

<link rel="image_src" href="http://www.example.com/image.jpg" />

now ok?

燃情 2024-10-23 00:37:20

这正是自动轻松生成这些按钮所需的http://www.latestseotools.com /工具/socialbuttons-generator/

This does exactly what is needed to generate these buttons automatically and easily http://www.latestseotools.com/tools/socialbuttons-generator/

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