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 Developer
Posts: 9
Registered: ‎09-28-2012
My Device: Developer
Accepted Solution

HTML5 app + Facebook Javascript SDK = hopeless?

Hi, I'm aware that the BB10-WebWorks-Samples provides the Facebook-OAuth-2 sample for integrating Facebook into a HTML5 app.

 

Can I just confirm that it's really hopeless to try to use Facebook's Login with Javascript SDK instead? I've been trying to load the Javascript SDK in my HTML5 app without success.

BlackBerry Development Advisor
Posts: 716
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: HTML5 app + Facebook Javascript SDK = hopeless?

Hello,

 

What are you having a  hard time with, using the sample app?  I can answer question about it, to help get your up up and running.  

 

As far as their Javascript SDK, I've never had much luck with that, which is why I wrote the OAuth sample Smiley Happy

New Developer
Posts: 9
Registered: ‎09-28-2012
My Device: Developer

Re: HTML5 app + Facebook Javascript SDK = hopeless?

Hi chadtatro, your sample app works and I could understand your well written code. Many thanks!

Just pondering... why Facebook's documentation for using their Javascript SDK leads to errors? Is their tutorial intended to work on other platforms?

 

 

BlackBerry Development Advisor
Posts: 716
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: HTML5 app + Facebook Javascript SDK = hopeless?

I wish I had an answer for that Smiley Happy

 

I always felt that it's more meant for websites, though I could be wrong.