摘要:
1. 链接到这登录https://graph.Facebook.com/oauth/authorize?type=user_agent&client_id=CLIENT_ID&redirect_uri=REDIRECT_URL&scope=user_photos,email,user_birthday,user_online_presence2. 回调地址里获取access_token并保存。http://REDIRECT_URL?access_token=142279789131336%7C2.WKMyHmlbzscco7HjrkJUMw__.3600.1304560
阅读全文
posted @ 2011-06-10 14:42
myx
阅读(1362)
推荐(0)
编辑
摘要:
刚写了QQ的,现在再来总结一下Sina的,不过也快忘记了,Sina的使用是在去年底了。1.登录地址: string consumer_key = Config.Get<string>("TSinaApi", "Key"); string consumer_secret = Config.Get<string>("TSinaApi", "Secret"); oAuthSina _oauth = new oAuthSina(); _oauth.ConsumerKey = consumer_key
阅读全文
posted @ 2011-06-10 10:56
myx
阅读(924)
推荐(0)
编辑
摘要:
下载SDK下载地址: http://open.t.qq.com/download/C%23-SDK.7z ,不过下载这SDK在发送图片的时候有问题。稍候讲解。1. Oauth 登录 a. 获取request_token /// <summary> /// 获取request_token /// </summary> /// <param name="appKey"></param> /// <param name="appSecret"></param> /// <return
阅读全文
posted @ 2011-06-10 10:21
myx
阅读(1325)
推荐(0)
编辑