Re:Lanyrd no longer requires write access to your Twitter ac...
by nodata on Wednesday June 20, 2012 @09:10AM
(#4136769)
> It was only a small vocal group that complained about us asking for too many permissions, but they absolutely had a point.
Nice to see you acknowledge this. Too often the "small vocal group" of experts is put in the same category as a bunch of troublemakers.
Re:Lanyrd no longer requires write access to your Twitter ac...
by JoshTriplett on Wednesday June 20, 2012 @01:46PM
(#4138137)
Thank you very much for explaining the technical reasons that make this difficult, and thank you for continuing to seek a solution despite those difficulties. As someone who cares about what permissions sites ask for, I appreciate you fixing the problem, and I appreciate even more that you've concisely explained the solution in a way that other sites can more easily act on.
Earlier this year, Twitter made it possible to request either kind of token when making the initial OAuth request. We tried to implement read-by-default, upgrade-to-write against this but it turned out not to quite work - a user could upgrade to a write token when we prompted to them, but then if they attempted to sign in to the site in the future Twitter would prompt them to downgrade to a read-only token.
So in the end, we implemented it using a method we could have all along - by setting up two different Twitter OAuth applications (called "Lanyrd (read-only)" and "Lanyrd (full-access)") and doing our initial signin auth against the read-only one, then asking for read-write permission against the full-access one when the user first attempts a write-requiring action.
I'm very glad we've solved this now. It was only a small vocal group that complained about us asking for too many permissions, but they absolutely had a point.