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
Contributor
Kanduc
Posts: 13
Registered: ‎02-25-2013
My Device: Developer

Login using Facebook app from my app

Hi I'm developing a bb6 app where you have to login with facebook to start the app. I'm using  http://developers.facebook.com/docs/reference/dialogs/oauth/ to login but this open m.facebook.com to login.

 

 

I would like to open the Facebook app to Login and then go back to my app.... how can i do this?

Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook

Re: Login using Facebook app from my app

This sample is intended for BB10 but it might be of use in your case.

https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/FaceBook-OAuth-2

I think everything used is pure Javascript except maybe a webview, that's why I think it might work on BB6 as well.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Contributor
Kanduc
Posts: 13
Registered: ‎02-25-2013
My Device: Developer

Re: Login using Facebook app from my app

yes but the dialog oauth opens a web page to login with facebook, i would like to know is there is a way to login using the Facebook app that is installed in the device?