Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
07-26-2011 10:49 PM
I have an entire functioning client side only OAuth flow working on my desktop browser. My next step is to make that work in a PlayBook WebWorks app. I can make it to the twitter authorization page, but after I authenticate Twitter can't redirect me to to my page at local:///index.html
Is there another way to directly access WebWorks app files?
07-27-2011 01:05 PM
I believe something like the snippet below should work for you
window.location = window.location.origin + window.location.pathname.replace("oauth2callback.h
07-27-2011 01:32 PM
Sorry, I don't think I explained my problem well enough. My problem lies in the fact that Twitter wants to redirect me to http://index.html in favour of 'local://' even though I've explicitly stated local:///index.html is where I want to go.
I have this working on a local webserver using localhost, but that's ultimately over HTTP, is there a way to refer to a file in a WebWorks application with an http address?
07-27-2011 02:08 PM
07-27-2011 02:24 PM
Hi interfaSys, I do give a callbackUrl to twitter, but the problem is because that's a page in a local application, twitter doesn't want to redirect to it. I need some way of aliasing local files to HTTP addresses, like localhost on a desktop.
07-28-2011 12:09 AM - edited 07-28-2011 01:19 AM
08-14-2011 04:52 PM