我怎样才能在 Facebook 上点赞? iframe 应用程序的按钮?
我正在尝试为我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应用程序的配置文件就是“喜欢的”。
即,此 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