<!--#include file="config.asp"-->
<%
response.Charset="utf-8"
url_get_noauth = "https://graph.qq.com/oauth2.0/authorize"
Set MyOAuth = OAUTH20(appid,appkey,url_callback)
session("state")=MyOAuth.rndStr(10)
MyOAuth.Set "state",session("state")
Url = MyOAuth.getAuthorizationUrl(url_get_noauth)
response.Redirect Url
%>