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.

inside custom component

Web and WebWorks Development

Reply
New Member
neetendra
Posts: 1
Registered: ‎10-22-2012
My Device: BB-8520

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: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: incorporate facebook login in webworks App

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: incorporate facebook login in webworks App

Hello,

 

There are some OAuth samples in this threat: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/OAuth-Twitter-Facebook-amp-Fours...

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

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 Device: 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: 620
Registered: ‎10-01-2009
My Device: Z10

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.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Contributor
Kanduc
Posts: 13
Registered: ‎02-25-2013
My Device: 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: 620
Registered: ‎10-01-2009
My Device: Z10

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

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.