You can install this plugin in one of two ways:
-
Install the plugin by running the install-plugin command. In addition to installing the spring-social-twitter plugin, you need to install both the spring-social-core plugin
grails install-plugin spring-social-core grails install-plugin spring-social-twitter
OR
-
Add compile ":spring-social-core:0.2.0.BUILD-SNAPSHOT" and compile ":spring-social-twitter:0.1.31" to your BuildConfig.groovy file's plugins bloc in the conf directory. You probably have to change the version value to match this plugin's current version.
plugins { compile ":spring-social-core:0.2.0.BUILD-SNAPSHOT" compile ":spring-social-twitter:0.2.0.BUILD-SNAPSHOT" }
Add your Twitter public key and secret to the Config.groovy file in the conf directory.
plugin.springsocialTwitter.consumerKey='twitterconsumerkey'
plugin.springsocialTwitter.consumerSecret='twittersecret'