Implementing sign-in with twitter was tough, the documentation was spread around, and the sequence diagrams below somehow incomplete, so I thought I’d share my Java/JSF implementation, and the sources that helped me.
This project uses Java / JSF, Maven, includes some Spring, and runs on OpenShift with JBoss AS 7, but the core is agnostic Java.
https://github.com/ams10961/siwtjsf.git
Andrew