Package com.qq.open.qzone.blog

Examples of com.qq.open.qzone.blog.QqAddOneBlog


    paramBean.setTitle("这是通过javaSDK2.0版发布的日志");
   
    // 设置日志内容 必须传入
    paramBean.setContent("当你能看到这里的时候,就证明我们的JavaSDK2.0版已经成功集成了。热烈鼓掌!!");
   
    QqAddOneBlog bolg = new QqAddOneBlog();
   
    // 调用发布日志方法
    QqAddBlogResultBean resultBean = bolg.addOneBlog(paramBean);
   
    // 接口返回错误的场合
    if (resultBean.getErrorFlg()) {
      System.out.println("接口调用出错啦!!");
      System.out.println("错误编号:" + resultBean.getErrorCode());
View Full Code Here

TOP

Related Classes of com.qq.open.qzone.blog.QqAddOneBlog

Copyright © 2018 www.massapicom. 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.