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

Java Development

Reply
Highlighted
Developer
Posts: 178
Registered: ‎04-16-2011
My Device: torch 9800
My Carrier: verizon

communicate with my app through browser

Hi,

 

I have a little facebook app im working on but i get various problems trying to login, grant permisssions and retrieve the access token via the url once the app is redirected.

 

I noticed an app on the market tries this process in another way - by invoking the actual browser on the device, displaying the facebook login screen and then getting facebook to redirect the app to an external webpage which i think is developed and hosted by the app vendor.

 

My question is this - if i put a php/js page on my server and retrieve the access token with my server page by getting facebook to redirected to this page once logging the user in, how could i then pass that access token to my app on the device?

 

I can only see a couple of methods in browsersession which i assume is how i would invoke the browser in the first place which are only to do with display the initial page.



 

Really interested to know the andswer to this one.

 

Thank you in advance

Developer
Posts: 178
Registered: ‎04-16-2011
My Device: torch 9800
My Carrier: verizon

Re: communicate with my app through browser

anyone know the answer to this?