Is there an example of this somewhere I can use as a model? I've in
the past done a fair bit of using the postSave() method but not
thought about how it hooks into filters.xml...
filters.xml just contains settings for filters. Check out SpamFilter
or PingWeblogsComFilter.
Technically, you wouldn't even need Twitter4J, since the posting
methods are trivial. You can post to Twitter even with curl, if you
want to :-)
Ah, but Yosuke Yamamoto, the lead developer for Twitter4J, seems
keen to gradually implement a lot of the other Twitter features,
e.g., one of the recent versions includes searching. I've been
thinking of sorta highjacking Twitter as a means of transmitting
data across a network, particularly from a cell phone. I.e., having
an application receive tweets (from particularly Twitter accounts,
for example) and process them.
But all you would do in a filter is to implement posting. Remember
that Filters don't have an UI, and you would probably write a separate
plugin to do other stuff.
/Janne