Package

Source Code of TestCheckPageFans

import java.io.IOException;

import com.qq.open.qzone.bean.param.QqCheckPageFansParamBean;
import com.qq.open.qzone.bean.result.QqCheckPageFansResultBean;
import com.qq.open.qzone.fans.QqCheckPageFans;


public class TestCheckPageFans {

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

    QqCheckPageFansParamBean bean = new QqCheckPageFansParamBean();
   
    bean.setAccessToken("138F0112CC9B350B8AE00899CB47D489");
   
    bean.setOpenId("2D78AAACEAF41021180BEAA2A47871B8");
   
    bean.setQzoneQq("123456");
   
    QqCheckPageFans fans = new QqCheckPageFans();
   
    QqCheckPageFansResultBean resultBean = fans.checkPaeFans(bean);
   
    System.out.println("粉丝:" + resultBean.getIsFans());
  }

}
TOP

Related Classes of TestCheckPageFans

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.