Desktop Application Authentication


I have a desktop application coded in Ruby and I want the user to be able to log into their twitter account and post tweets. The first issue here is logging into twitter from the desktop application. I have scoured the web for hours to no avail on how to get a ruby application to login. I’m hoping the twitter dev community can better help me out. Any ideas on how I should go about this? I am a bit of a beginner so I need a good tutorial starting with “include this library…”