Examples of AsyncWeibo


Examples of weibo4j.AsyncWeibo

        if (args.length < 3) {
            System.out.println(
                "Usage: java weibo4j.examples.AsyncUpdate ID Password text");
            System.exit( -1);
        }
        AsyncWeibo weibo = new AsyncWeibo(args[0], args[1]);
        weibo.updateStatusAsync(args[2], new WeiboAdapter() {
            @Override public void updated(Status status) {
                System.out.println("Successfully updated the status to [" +
                                   status.getText() + "].");
                synchronized (lock) {
                    lock.notify();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.