# Where do Twitter API calls live in the framework?

**URL:** <https://www.ruby-forum.com/t/where-do-twitter-api-calls-live-in-the-framework/129983>\
**Category:** Rails\
**Created:** [February 23, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/where-do-twitter-api-calls-live-in-the-framework/129983 "2008-02-23T17:46:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ressister](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@ressister](https://www.ruby-forum.com/u/ressister)\
**Post date:** [February 23, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/where-do-twitter-api-calls-live-in-the-framework/129983/1 "2008-02-23T17:46:15Z")

</div>

I have an app that interacts with the Twitter API rather heavily both  
for retrieving data, and for sending messages through Twitter.  
Currently all the Twitter interaction lives in the individual models.  
Where should it live? Should I have a separate Twitter model for all  
Twitter API interaction, should this live in the lib/ directory?  
What’s the right approach?

Thanks,  
-A
