Examples of RequestToken


Examples of weibo4j.http.RequestToken

  this.weibo = new Weibo();
  }

  public AuthToken requestToken() throws Exception {

  RequestToken requestToken;
  requestToken = weibo.getOAuthRequestToken(this.authCallbackUrl);

  log.info("Token:" + requestToken.getToken());
  log.info("TokenSecret:" + requestToken.getTokenSecret());
  log.info(requestToken.getAuthenticationURL());

  AuthToken authToken = new AuthToken(WeiboSource.Sina, requestToken.getToken(), requestToken.getTokenSecret());

  return authToken;
  }
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.