On Jul 24, 2011, at 6:43 AM, Vishwanath wrote: > Hi, > > Made some changes to add ApacheTomEE twitter account to the retweet-tool. > > Now in RetweetTool.properties, we can configure the hashtags that would be > associated with each account by a pipe separated list like below: > > # pipe separated list of hashtags > openejb.supported.hashtags=openejb|tomee > tomee.supported.hashtags=apachetomee|tomee|openjpa > > To hook up with ApacheTomEE twitter account, its just like before: > > Just have to run AccessTokenGenerator.java once. > It gives a URL to visit (with ApacheTomEE twitter account logged into, in > some other tab ). > On clicking "Authorize this App" the webpage gives a pin number. > AccessTokenGenerator waits for that PIN number input. Once that pin number > is entered, it gives two tokens- consumer token and consumer secret > > Those tokens should be pasted in RetweetTool.properties against the > respective keys. > > retweetApp.tomee.authorizedUser.consumer.token= > retweetApp.tomee.authorizedUser.consumer.tokenSecret=
I hooked it up but I think I might have broken something. Tried a tweet with #TomEE in it and then ran the tool and it didn't work. Going to send you the twitter account info offline and maybe you can take a stab at setting it up and sending a patch for the right tokens and such. You might have to re-auth both accounts -- I think I really messed something up. Thanks so much for the functionality, btw. Wouldn't have even dared to create a second twitter account without this tool! What a time-saver! > PS: Suffixed the scala-tools repository url with a "/" in pom.xml. Was > getting a repository not found error without it. The rest of the changes in > the patch are retweet-tool related. Thanks! :) -David
