Twitter Spring Integration - query as payload -


can use twitter spring integration gateway (or splitter) instead of polling consumer? idea use payload query can multiple twitter custom searches. payload come chain.

one way use http outbound gateway, not go this, because have implement entire twitter api (authentication - twitter template, tweet duplication - metadata store).

the proper spring integration endpoint <si-twitter:outbound-gateway/> request/response scenario; don't have that; feel free open new feature jira issue that.

however, under covers, use twittertemplate; can invoke directly; like...

twittertemplate tt = new twittertemplate(consumerkey, consumersecret, accesstoken,  accesstokensecret); searchparameters searchparameters = new searchparameters(query).count(20).sinceid(sinceid); searchresults results = tt.searchoperations().search(searchparameters); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -