joindin/joind.in — pull request #455 by ijansch (2011-12-04 07:44:05+00:00)
Title: This adds the start of twitter integration

Hi,

I wouldn't merge this into the main codebase yet since it's unfinished, also I haven't tested it against the latest version of the code (it did merge without conflicts though).

I've left out the official joind.in secrets since you don't want to expose those through github but I have them available (so has enygma) should someone need them.

The actual oauth complexity is handled by a third party that was recommended in an 'oauth in code igniter' thread.

What should work:
- Twitter button to login via twitter
- Do the twitter oauth dance and be logged in

What doesn't work yet:
- After login, the system should check:
- Does the user already exist - update the session to make sure joind.in knows this user is now logged in
- User doesn't exist yet - implicitly create a joind.in user account and set status to logged in.