← Back to team overview

launchpad-dev team mailing list archive

Re: Answers on friendly.ubuntu.com

 

On Thu, 2012-01-19 at 11:28 -0500, Marc Tardif wrote:
> Andrea, I would very much like to adopt your approach. However, I don't
> understand how Ubuntu Friendly could get the question IDs back from
> Launchpad. Currently, I see two ways for Ubuntu Friendly to create
> questions in Launchpad:
> 
> 1. Ubuntu Friendly provides a link to Launchpad answers where users can
>    ask a question under a given project with the title potentially
>    pre-filled with the model name. However, once the user clicks on
>    the link, I don't understand how the ID can be retrieved by Ubuntu
>    Friendly.
> 
> 2. Ubuntu Friendly provides a form that uses the Launchpad API to create
>    a question in Launchpad answers. Then, the API would certainly return
>    the question ID that could be inserted in our own database. However,
>    I don't understand how the user can authenticate so that the question
>    is asked as himself.
> 
> How did you envision this working?

I was thinking about point 2. I'm not familiar with the Launchpad API,
but I thought it was possible to authorize Ubuntu Friendly with OAuth or
something. Probably I'm confusing the Launchpad API with the Ubuntu One
API? Reading Curtis' comment it seems so.



References