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
Highlighted
New Contributor
Posts: 5
Registered: ‎06-28-2011
My Device: 9800
My Carrier: SMC-Voda

Facebook Connection in WebWorks for Smartphone

Hi,

I am using javascript and html to develope a WebWorks app for 9800.
In the application, one of the feature is Facebook connection.

I downloaded the latest Facebook Blackberry SDK (0.8.24) from
http://sourceforge.net/projects/facebook-bb-sdk/

When I use that sdk in a Blackberry Java application and call the method "refreshAccessToken(true)", it is able to show the Facebook login page and premission granting page.

However, when I call the same method in the Java Extension of WebWorks project, it returns a error message "Unable to refresh access token.".



How can I show the Facebook login page in WebWorks app?

Are there any classes or method that are supported in Java application but not in WebWorks application?

Also, are there any other methods can connect to Facebook in WebWorks application?