Twitter API in ruby on rails application


I am developing a ruby on rails application for getting all users tweets
from twitter after twitter login from my application I am able to get
user_id,email,provider,name etc from twitter login but I want to use
Twitter Api to get all the tweets of the user who is doing twitter sign
from my application

I followed this post “*
*”.It is using grackle gem to get the users post but problem is it is
showing my twitter post if other person doing login in it shows same
not new user’s posts.

There are so many twitter API available to use for example you can get
status,user_timeline,direct_messages etc. see this one


I want to know which API can be used to get all user tweets and how in
rails application

Help or suggestions???