Twitter with rails 3

Hi all. Iam new to rails. Iam using rails 3 for my website. In this i need to post messages, photos and videos to twitter from my rails app. In this the main concept is, these things should be posted even if the user is not logged in. Please can any one guide me in this with some sample links or tutorials?