Facebook 共享链接 - 在 iframe 应用程序上定义缩略图的问题

发布于 2024-11-30 22:06:00 字数 450 浏览 0 评论 0原文

我创建了一个简单的 Iframe 应用程序,并将其作为选项卡附加到我的粉丝页面上。

在此页面上,我有一个经典的共享链接:

http://www.facebook.com/sharer.php?u=http://www.fb-iframe-app-url.com">SHARE IT NOW!</a>

iframe 应用程序托管在我的服务器上,在这里我定义了通常适用于图像的内容:

<meta property="og:image" content="http://domain.com/image.gif" />

但是,似乎所有此类数据都是从粉丝页面本身获取的 - 这意味着我无法控制这些数据元素。

有人有在 iframe 应用程序单击的共享 URL 中自定义共享缩略图和文本的经验吗?

I've created a simple Iframe app and attached it as a tab on my fanpage.

On this page I have a classic share link:

http://www.facebook.com/sharer.php?u=http://www.fb-iframe-app-url.com">SHARE IT NOW!</a>

The iframe app is hosted on my server and here ive defined what usually works for images:

<meta property="og:image" content="http://domain.com/image.gif" />

However it seems all this kind of data, is fetched from the fanpage itself - which means I cant control those elements.

Do anyone have experience with customizing share thumbnail and text from within an iframe app-clicked share url?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文