Sadly, this is a packaged app (though a privileged one).

_ michael 


_ michael

---
Michael Bishop
Hitpoint Studios
http://www.hitpointstudios.com


On Friday, June 28, 2013 at 10:58 AM, Kumar McMillan wrote:

> 
> On Jun 28, 2013, at 9:08 AM, Michael Bishop <[email protected] 
> (mailto:[email protected])> wrote:
> 
> > Hi All, 
> > 
> > I've been working on getting my web app to authenticate with Twitter using 
> > OAuth. I've been able to use systemXHR to retrieve temporary tokens and 
> > have also been able to open a new webpage in my app that shows twitter's 
> > login page.
> > 
> > Now, after the user signs in, twitter wants to redirect that page to a 
> > callback url.
> > 
> > 1. How do I make that callback url show my app?
> > 2. How do I, within my app, retrieve the authentication token (which is a 
> > parameter that twitter appends to the callbackURL)
> > 
> 
> 
> Hi.
> I assume you are dealing with a packaged app, not a hosted app? A hosted app 
> does not have any of these problems -- if possible, use a hosted app (you can 
> still cache it to make it perform like a packaged app). 
> 
> > 
> > On iOS, apps can register with a custom URL scheme that will launch them. 
> > Is there a similar facility on FirefoxOS. How do I intercept that url? 
> > Additionally, what exactly does the "origin" parameter in the 
> > manifest.webapp file enable? 
> 
> The origin parameter is not yet documented. It will be supported only in 
> Firefox OS 1.1, not 1.0 (which is the version shipping). The origin is indeed 
> intended to solve your exact problem and you can read about it here 
> https://bugzilla.mozilla.org/show_bug.cgi?id=852720 The patch may also help 
> to understand it 
> https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/0aee0700f68b
> 
> -Kumar
> 
> > 
> > Any thoughts you have would be much appreciated. I'm very close to 
> > finishing and will gladly publish the source once it works.
> > 
> > Thank you,
> > 
> > _ michael
> > 
> > ---
> > Michael Bishop
> > Hitpoint Studios
> > http://www.hitpointstudios.com
> > 
> > _______________________________________________
> > dev-webapps mailing list
> > [email protected] (mailto:[email protected])
> > https://lists.mozilla.org/listinfo/dev-webapps
> > 
> 
> 
> 


_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to