View Single Post
Old 03-25-2012, 10:15 AM   #1
mauzzamali
New Member
 
Join Date: Mar 2012
Model: 7100T
PIN: N/A
Carrier: Aircel
Posts: 3
Default Facebook Login Button in BB Playbook Application

Please Login to Remove!

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); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=APP_ID";
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.

Regards
Offline   Reply With Quote