Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

And a search here, netted me this: https://wiki.ubuntu.com/Unity/Lenses

I was using this tutorial to create a lense: http://saravananthirumuruganathan.wordpress.com/2011/08/05/tutorial-on-writing-ubuntu-lensesplaces-in-python/

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
2  
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
add comment

1 Answer

up vote 4 down vote accepted
+50

Check Ubuntu API pages, it certainly have required APIs

share|improve this answer
add comment

Your Answer

 
discard

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.