BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Facebook Login Button in BB Playbook Application (

mauzzamali 03-25-2012 10:15 AM

Facebook Login Button in BB Playbook Application
Hello Folks,

I have been working with development of Blackberry Playbook Application, i.e. HTML5/Webworks, I would like to implement a feature of Facebook Login for my application, but for some reasons I couldn't do that.

For testing I have been using Ripple Emulator

Code for facebook login button -

Button - Facebook Developers

I have added this code just below the body tag

<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-login-button" data-show-faces="true" data-width="200" data-max-rows="1"></div>

With this code I am able to see the login button, but when I click on the button it does not generate the popup like we get on web application.

Please suggest any ideas for the same.


All times are GMT -5. The time now is 01:35 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.