Facebook 对话框链接描述始终包含网站描述以及我的自定义描述

发布于 2024-11-23 18:24:55 字数 440 浏览 1 评论 0原文

我目前正在使用 iOS sdk 向用户流发布一条消息。我的帖子包含图片链接。发帖时,我会在标题下方提供自定义描述。这是通过设置文档中详细说明的描述属性来完成的:http://developers。 facebook.com/docs/reference/dialogs/feed/。当我这样做时,我的描述就会出现,但后面总是跟着站点详细信息。我的帖子链接到 Imgur,因此,例如,如果我的消息是“这是我的图片”,那么实际的帖子将显示:

“这是我的图片

Imgur 用于与社交网络和在线社区分享照片,并且有最有趣的图片来自互联网各地。”

我想发布一个不包含 Imgur 网站信息的描述。这可能吗?我该怎么做呢?

提前致谢。

I am currently posting a message to the users stream using the iOS sdk. My post includes a link to a picture. When posting I provide a custom description which goes beneath the caption. This is done by setting the description property as detailed on the documentation: http://developers.facebook.com/docs/reference/dialogs/feed/. When I do this my description appears, but it is always followed by the site details. My post links to Imgur, so for example if my message was "This is my IMAGE", then the actual post will read:

"This is my IMAGE

Imgur is used to share photos with social networks and online communities, and has the funniest pictures from all over the Internet."

I want to post a description without the Imgur website information being included. Is this possible? How would I go about doing this?

Thanks in advance.

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

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

发布评论

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

评论(2

も星光 2024-11-30 18:24:55

好吧,我不确定如何解决 iOS sdk 的问题,因为我不是 iOS 开发人员,但您仍然可能有一些想法,

您尝试过 开放图标签 ?

使用 URL Linter 进行调试: http://developers.facebook.com/tools/lint/

是一个示例片段:

<!doctype html>
<html xmlns:og="http://ogp.me/ns#"
      xmlns:fb="https://www.facebook.com/2008/fbml" lang="en">
<head>
  <meta charset="utf-8">
  <title>Title</title>
    <meta property="og:title" content="YOUR-POST-TITLE"/>
    <meta property="og:type" content="website"/>
    <meta property="og:url" content="http://YOUR-SITE-URL"/>
    <meta property="og:image" content="http://YOUR-IMAGE-URL"/>
    <meta property="og:site_name" content="YOUR-SITE-TITLE"/>
    <meta property="og:description" content="YOUR-DESCRIPTION"/>
    <meta property="fb:admins" content="YOUR-USER-ID"/>
</head>
.....
</html>

Well i'm not sure how to fix that problem for iOS sdk as i'm not a iOS Developer, but still you may have some idea,

Did you try Open Graph Tags ?

Use URL Linter to Debug: http://developers.facebook.com/tools/lint/ and

Here's a sample snippet:

<!doctype html>
<html xmlns:og="http://ogp.me/ns#"
      xmlns:fb="https://www.facebook.com/2008/fbml" lang="en">
<head>
  <meta charset="utf-8">
  <title>Title</title>
    <meta property="og:title" content="YOUR-POST-TITLE"/>
    <meta property="og:type" content="website"/>
    <meta property="og:url" content="http://YOUR-SITE-URL"/>
    <meta property="og:image" content="http://YOUR-IMAGE-URL"/>
    <meta property="og:site_name" content="YOUR-SITE-TITLE"/>
    <meta property="og:description" content="YOUR-DESCRIPTION"/>
    <meta property="fb:admins" content="YOUR-USER-ID"/>
</head>
.....
</html>
白首有我共你 2024-11-30 18:24:55

我也在处理这个问题......我发现你所描述的是“默认”标题。我不确定你如何摆脱它,但如果你将标题参数设置为合理的值,它将替换链接信息。

I am also dealing with this...What I found was that what you are describing is the 'default' caption. I'm not sure how you get rid of it, but if you set the caption argument to something reasonable it will replace the link information.

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