我怎样才能在 Facebook 上点赞? iframe 应用程序的按钮?

发布于 2024-09-16 09:06:17 字数 578 浏览 4 评论 0原文

我正在尝试为我的 iframe facebook 应用程序制作一个“赞”按钮。

对于 FBML 应用程序,单击“like”按钮将显示“Pete likes AppName (Application)”。在你的墙上。

对于我的 iframe 应用程序,我使用以下 FBML:

<fb:like href="http://apps.facebook.com/appname/"></fb:like>

但是 Facebook 更改了 iframe 域的超链接: http://mydomain.com/app/

这将以下内容贴在我的墙上:“Pete likes App Name在 mydomain.com 上”,并且链接指向 http://mydomain.com/app/

如何我制作了一个像 FBML 应用程序一样工作的按钮?

I'm trying to make a like button for my iframe facebook app.

With an FBML application, clicking the like button would put "Pete likes AppName (Application)." on your wall.

For my iframe app I'm using the following FBML:

<fb:like href="http://apps.facebook.com/appname/"></fb:like>

However Facebook changes the hyperlink to the iframe's domain:
http://mydomain.com/app/

Which puts the following on my wall: "Pete likes App Name on mydomain.com" and the link follows through to http://mydomain.com/app/

How can I make a like button which works the same as an FBML application?

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

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

发布评论

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

评论(1

顾北清歌寒 2024-09-23 09:06:17

应用程序的配置文件就是“喜欢的”。

即,此 URL:http://www.facebook.com/apps/application.php?id=YOUR_APP_ID

The application's profile is what is "like-able".

i.e., this URL: http://www.facebook.com/apps/application.php?id=YOUR_APP_ID

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