iPhone 上的 Facebook Like Box 与 jQTouch
有没有比使用 iframe 代码更好的方法将 facebook like box 集成到 iphone jQTouch 移动网站中?即:
<div id="facebook">
<div class="toolbar">
<h1 class='logo'>My site</h1>
<a class="back" href="#">Back</a>
</div>
<div class="facebook">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%pagename&width=320&colorscheme=dark&connections=10&stream=true&header=true&height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:320px; height:587px;" allowTransparency="true"></iframe>
</div>
</div>
iPhone 上的 iframe 也不知道您是否通过 facebook iPhone 应用程序登录。有什么方法可以整合它吗?
谢谢
Is there a better way to integrate the facebook like box in an iphone jQTouch mobile site than using the iframe code? Ie:
<div id="facebook">
<div class="toolbar">
<h1 class='logo'>My site</h1>
<a class="back" href="#">Back</a>
</div>
<div class="facebook">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%pagename&width=320&colorscheme=dark&connections=10&stream=true&header=true&height=587" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:320px; height:587px;" allowTransparency="true"></iframe>
</div>
</div>
The iframe on the iPhone also doesn't know you are logged in through your facebook iphone app. Is there any way to integrate that?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我非常确定您的网站无法从 Facebook 应用程序获取凭据。如果这对您的网站有意义,您可能必须支持 Facebook Connect。如果您的点赞按钮是额外内容,并且您的网站与 Facebook 无关,那么我认为这是您能做的最好的事情。
I am pretty sure that there is no way your website can get the credentials from the Facebook app. If it makes sense for your site, you might have to support Facebook Connect. If your like buttons are extra content and your site has nothing to do with Facebook, then I think this is the best you can do.