IOS
NSString *urlStr = [NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",QQ号];
NSURL *url = [NSURL URLWithString:urlStr];
[[UIApplication sharedApplication] openURL:url];
Android
String urlStr="mqqwpa://im/chat?chat_type=wpa&uin=QQ号";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(urlStr)));
Web
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=QQ号&site=qq&menu=yes">click here</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=QQ号&site=qq&menu=yes">click here</a>