Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Member
neetendra
Posts: 1
Registered: ‎10-22-2012
My Carrier: Vodafone

incorporate facebook login in webworks App

Hello

 

Can you please tell me which is the best way to incorporate facebook login in webworks App. Can i get any tutorial for that ?

 

Thanks & Regards

Please use plain text.
Trusted Contributor
usr501
Posts: 189
Registered: ‎03-03-2012
My Carrier: rogers

Re: incorporate facebook login in webworks App

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 375
Registered: ‎10-01-2009
My Carrier: Bell

Re: incorporate facebook login in webworks App

Please use plain text.
Developer
interfaSys
Posts: 794
Registered: ‎11-19-2009
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: incorporate facebook login in webworks App

[ Edited ]

Just wait a few days. The W6 release of Webworks will include an in-app browser that you will be able to use for oAuth.

You will only need to call window.open() with the Facebook login URL inside, etc. and WON'T need to host some PHP script somewhere for it to work.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Contributor
Kanduc
Posts: 13
Registered: ‎02-25-2013
My Carrier: Developer

Re: incorporate facebook login in webworks App

the window.open opens a pop up right? this doesn't works on bb 6 or it does? is there another way to redirect to the webworks app?

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 375
Registered: ‎10-01-2009
My Carrier: Bell

Re: incorporate facebook login in webworks App

Right for BB6/7 I when I developed apps for them, I was using PhoneGap.  There was a ChildBrowser plugin that came with it which did this.

Please use plain text.
Contributor
Kanduc
Posts: 13
Registered: ‎02-25-2013
My Carrier: Developer

Re: incorporate facebook login in webworks App

which ChildBrowser plugin? can u give an example?

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 375
Registered: ‎10-01-2009
My Carrier: Bell

Re: incorporate facebook login in webworks App

I don't have any sample code myself, but all the info you need should be here - https://github.com/phonegap/phonegap-plugins/tree/master/BlackBerry/ChildBrowser

Please use plain text.