Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to create a lens that would touch a web service that requires oauth authentication.

And a search here, netted me this:

I was using this tutorial to create a lense:

Speaking with a developer with more experience than myself, he mentioned using the new Online Accounts in the control center, but that there wasn't much documentation on how to do so.

Does anyone know where this documentation might exist? Or perhaps a quick tutorial/how-to/source code for handling oauth/account tokens/authentication for services in lenses?

Thanks! Much appreciated!

share|improve this question
I don't know much about lens development but you could try looking at the source code of the Photo lens in Quantal. – jokerdino Oct 7 '12 at 3:36
up vote 4 down vote accepted

Check Ubuntu API pages, it certainly have required APIs

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.