title: FB.login not working in mobile browsers
body: <p>This is not native solution, just responsive web site.. The problem is, that FB.login simply doesn't do anything. The same goes for FB.ui methods..</p>
  
  <p>i call fb init in head (but also tried in body with same results..) like this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  FB.init({ 
      appId: '{$app_id}',
      status: true, 
      cookie: true,
      xfbml: true,
      channelUrl: 'https://www.nottyfly.com/channel.php',
      oauth: true
  });
  </code></pre>
  
  <p></p>
  
  <p>When user clicks fb login button, the code is like this:</p>
  
  <pre><code>function fbLogin(){ 
      FB.login(function(response) {
        if (response.authResponse) {
          FB.api('/me/permissions', function (response) {
              var perms = response.data[0];
              document.getElementById("accesstoken").value=FB.getAuthResponse()['accessToken'];
              document.getElementById("korak1").submit();                                          
              } );
        } else {
              alert('{$alert_confirm_app}');
        }
    }, {scope:'email'});  
  }
  </code></pre>
  
  <p>This all work great at web pages, but on mobile browsers produces nothing? </p>
  
  <p>ps. Here is demo <a href="http://www.nottyfly.com/manage/public/?page=promotion&amp;type=webpoints&amp;noredirect=1&amp;p=559a7de99a964" rel="nofollow">web page</a></p>