QQ登錄傻瓜教程(C)版.docVIP

  • 2
  • 0
  • 约1.35千字
  • 约 2页
  • 2017-04-26 发布于上海
  • 举报
QQ登錄傻瓜教程(C)版

QQ登录傻瓜教程(C#)版 protected void Button1_Click(object sender, EventArgs e) { //appid and key //在/manage/可以申请得到 string appid = 这里输入你申请到的APP ID; string key = 这里输入你申请到的到的KEY ; //returl就是你调用之后回会的网址 string returl = ; string scope = get_user_info; string getauthorizationcodeurl = /oauth2.0/authorize?response_type=tokenclient_id= + appid + redirect_uri= + returl + scope= + scope; Response.Redirect(getauthorizationcodeurl); } 如果没有点。NET的环竟,就直接在IE中输入getauthorizationcodeurl,把各参数用实参代替。 //返回的是/?#access_token=37CBD40

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档