Hello everyone!

I'm building an app that tries to interact with the FourSquare OAuth service to 
authenticate. Unfortunately, FourSquare requires for the app authorization the 
user to be redirected to foursquare's own webpage (needs to be opened in a 
browser), where the user authorizes the app, then it redirects the browser to a 
pre-set url.

Launching the authorization works like a charm, the "view" webactivity opens up 
the browser and authentication works as it should. However reopening the app is 
a hassle (the user must be presented a page after redirect, that instructs him 
to reopen the app and refresh/sync to receive his auth key).

Browsing the WebActivity docs (which are quite scarce, at most) I found out 
there is an "open" action, could probably this be used to launch the app from 
the browser? I'm thinking something not at all unlike android's intents... 
Unfortunately I didn't find any pointers (or any documentation) for the action.

Thanks in advance!
Flaki
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to