문제

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&amp;width=320&amp;colorscheme=dark&amp;connections=10&amp;stream=true&amp;header=true&amp;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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top