You can use as many accounts with TwitterOAuth as you want. You just change the access_token and access_token_secret to which ever user you want perform actions as.
In step seven of the documentation you would take the access token and associate it with the section it is for and when that section needs to tweet you build a new TwitterOAuth object with that access_token set. https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION The example code Abraham ------------- Abraham Williams | InboxQ <http://inboxq.com/> | abrah.am @abraham <https://twitter.com/abraham> | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Fri, Apr 29, 2011 at 03:00, Gauti <[email protected]> wrote: > Hi There, > > Currently developing a website which has different sections associated > to different Twitter accounts. I want to be able to automatically > tweet based on user comments to the relevant Twitter account. > The website admin, can add more sections to website associating a new > twitter account to the section. Each section can be associated to only > one Twitter account. > > I was wondering if there is a means to achieve this. > Looked around for a solution and found - > https://github.com/abraham/twitteroauth > but it seems to work with one predefined account not multiple > accounts. > > Is it possible? if it is any pointers to achieving this will be most > appreciated > > > -- > Twitter developer documentation and resources: http://dev.twitter.com/doc > API updates via Twitter: http://twitter.com/twitterapi > Issues/Enhancements Tracker: > http://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > http://groups.google.com/group/twitter-development-talk > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
