5 More Information - Reference Documentation
Authors:
Version: 4.0.4.2
5 More Information
More than one twitter-account?
Alter your configuration to:twitter4j {
enableTwitter4jController = false
'default' {
OAuthConsumerKey = '******'
OAuthConsumerSecret = '************'
OAuthAccessToken = '************'
OAuthAccessTokenSecret = '************'
}
'otherAccount' {
OAuthConsumerKey = '******'
OAuthConsumerSecret = '************'
OAuthAccessToken = '************'
OAuthAccessTokenSecret = '************'
}
}twitter4jService if the default configuration is found.
If you need additional accounts configured, for example with otherAccount as defined above,
you need to add an additional bean in grails-app/conf/spring/resources.groovy like this:
otherAccount(Twitter4jFactoryBean) {
configuration = Holders.config.otherAccount
}