Package

Source Code of TestGetFansList

import java.io.IOException;

import com.qq.open.common.json.JSONException;
import com.qq.open.weibo.WeiBoGetFansList;
import com.qq.open.weibo.bean.param.WeiBoGetFansListParamBean;


public class TestGetFansList {

  /**
   * @param args
   * @throws IOException
   */
  public static void main(String[] args) throws IOException {

    WeiBoGetFansListParamBean paramBean = new WeiBoGetFansListParamBean();
   
    paramBean.setAccessToken("138F0112CC9B350B8AE00899CB47D489");
   
    paramBean.setOpenId("2D78AAACEAF41021180BEAA2A47871B8");
   
    paramBean.setReqNum("30");
   
    paramBean.setStartIndex("0");
   
    paramBean.setMode("0");
   
    WeiBoGetFansList weiBoGetFansList = new WeiBoGetFansList();
   
    try {
      weiBoGetFansList.getFanList(paramBean);
    } catch (JSONException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }

}
TOP

Related Classes of TestGetFansList

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.