03-26-2012 08:57 AM
Check out Lemma for PlayBook - https://github.com/yllus/Lemma-for-the-BlackBerry-
03-26-2012 09:26 AM
Thanks for your reply, actually I have my an application developed using HTML5/ Webworks for BB playbook. I want to add a feature of facebook or twitter login, a button or link, which on clicking will take user to facebook or twitter login popup like we get in normal web application.
Actually I have added to Facebook login plugin, which displays the button, but onclicking the button it does not pops up the window like we get in normal web application.
03-26-2012 10:05 AM
Unfortunately the issue with the Oauth experience for Web apps is that you first redirect to an external site, which redirects you back.
However in the context of a WebWorks application, there is no domain to redirect "back" to hence the tricky workarounds.
Lots of interest is out there in making this process easier - considering whether a custom JS extension can successfully abstract and solve this problem. Otherwise the ChildBrowser (which is also used by the "Canada's Got Talent" app - a WebWorks app in App World) extension does allow you to succssfully authenticate with an external oAuth.
03-27-2012 09:54 AM - edited 03-27-2012 10:21 AM
ChildBrowser is the way to go. It's easy to implement and can be customized to look like the rest of the app.
Bear in mind that doing client side oAuth on the PlayBook may get your credentials revoked by Twitter or Facebook if a PlayBook user decides to use or publish the keys found in your app.