public String getAppKey() {
		StringBuffer sb = new StringBuffer();
		try {
			sb.append("app_id=");
			sb.append(URLEncoder.encode(this.appId, "UTF-8"));

			sb.append("&consumer_key=");
			sb.append(URLEncoder.encode(this.consumerKey, "UTF-8"));

			String secret = "";
			try {
				SecretKeySpec key = new SecretKeySpec(this.secret.getBytes("UTF-8"), "HmacSHA1");
				Mac mac = Mac.getInstance("HmacSHA1");
				mac.init(key);

				secret = this.byteArrayToHex(mac.doFinal(this.consumerKey.getBytes("UTF-8")));
			} catch (NoSuchAlgorithmException e) {
				e.printStackTrace();
			} catch (InvalidKeyException e) {
				e.printStackTrace();
			} catch (UnsupportedEncodingException e) {
				e.printStackTrace();
			}

			sb.append("&secret=");
			sb.append(URLEncoder.encode(secret, "UTF-8"));

		} catch (UnsupportedEncodingException e1) {
			e1.printStackTrace();
		}

		return sb.toString();
	}