facebook fb:login-button for mobile web -


i'm trying fb:login-button work mobile web, la: http://developers.facebook.com/docs/guides/mobile/

however, i'm not sure add code: &display=touch

my fbml standard:

<fb:login-button autologoutlink='true' perms='user_about_me,email'></fb:login-button>  <div id="fb-root"></div> <script>     window.fbasyncinit = function() {         fb.init({ appid: 'xxxxxxx', status: true, cookie: true, xfbml: true });         fb.event.subscribe('auth.login', function() {             location.href = "....";         });     };     (function() {         var e = document.createelement('script');         e.type = 'text/javascript';         e.src = document.location.protocol +       '//connect.facebook.net/en_us/all.js';         e.async = true;         document.getelementbyid('fb-root').appendchild(e);     } ()); </script> 

any ideas?

i'm pretty you're not able use fbml tags mobile web applications. @ least, won't accept display=touch argument.

it means you'll need use more complex oauth implementation describe on http://developers.facebook.com/docs/guides/mobile/

it kinda makes sense if think it. fbml tags rely on popups or overlays, can't compatible mobile browsers. oauth implementation takes off fb page , returns host site authentication , authorisation.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -