Trigger my twitter status update within my application


#1

Hello everybody!
I wrote this code to access twitter status “onUpdate” event:

        AsyncTwitter twitter = UltraTwitter.getAsyncTwitter(); // returns AsyncTwitter instance

        twitter.addListener(new TwitterAdapter() {
            @Override
            public void updatedStatus(Status status) {
                System.out.println("Successfully updated the status to ["
                        + status.getText() + "].");
                synchronized (LOCK) {
                    LOCK.notify();
                }
            }
[...]

This code only works if I update my status from within the same app. But I would like the event being triggered also if I update my status by the twitter website.
Is it possible?
I would like to avoid implementing this with multiple request with the get status.
Thanks