<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title> Demo for Sina登录 (ASP版)</title>
<script type="text/javascript">
var childWindow;
function toSinaLogin()
{
childWindow = window.open("redirect.asp","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}
function closeChildWindow()
{
childWindow.close();
}
</script>
</head>
<body>
<font size=10><a href="http://open.weibo.com/wiki/Oauth2" target="_blank">SinaConnect新手教程</a></font>
<p>请开发者修改common.asp文件中的App_Key,App_Secret, CALLBACK_URL三个常量的值,以确保可以正常登录.<span style="color:#F00;">(如果未配置,程序将出错)</span><br>
<br>
<a href="#" onclick='toSinaLogin()'><img src="login_sinaweibo.gif"></a>
<!--a href="redirect.asp" target="_blank" ><img src="qq_login.png"></a-->
<br>
<br>
</p>
<p>
<strong>使用说明:</strong><br />
1.本Demo能实现SinaConnect登录验证及获取用户信息功能。<br />
2.本Demo核心文件只有一个Sinaconnect.asp,代码极其精简,没有提供额外的异常判断,方便代码移植。
</p>
<p>
<strong>版权声明:</strong><br />
1.Demo制作者:淡蓝色的氧气。<br />
<br />
2.微博:<a href="http://t.qq.com/blueo666" target="_blank">t.qq.com/blueo666</a>。<br />
<br />
3.个人网站:<a href="http://www.gifttom.com/" target="_blank">礼通网</a>。<br /><br />
4.本Demo可任意修改、传播、分发,没有任何版权限制。
</p>
</body>
</html>
- 1
- 2
- 3
- 4
- 5
- 6
前往页