Oauth/access token

跳转到: 导航, 搜索
(oauth/access_token)
(oauth/access_token)
第1行: 第1行:
 
== oauth/access_token ==
 
== oauth/access_token ==
获取Access_token
+
第三放应用使用开始的request_token来换取用户授权过的Access_token
 
Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Secion 6.3 of the OAuth 1.0 authentication flow.
 
Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Secion 6.3 of the OAuth 1.0 authentication flow.
  
=== URL: ===
+
=== URL地址: ===
 
http://api.t.sina.com.cn/oauth/access_token
 
http://api.t.sina.com.cn/oauth/access_token
 
   
 
   
===Formats:===
+
===返回数据格式:===
 
OAuth HTTP Authorization Scheme
 
OAuth HTTP Authorization Scheme
 
   
 
   
=== HTTP Method(s): ===
+
=== HTTP 请求方法: ===
 
POST
 
POST
  
===API rate limited (about rate limiting):===
+
===调用频率限制: ===
 
FALSE
 
FALSE
  
===Parameters:===
+
===请求参数说明:===
 +
* 参考Oauth协议第六章
 
* See Section 6 of the OAuth Core Specification for required parameters  
 
* See Section 6 of the OAuth Core Specification for required parameters  
  
===Usage notes:===
+
===说明:===
* Only ASCII oauth_nonce values are accepted.  
+
* oauth_nonce 参数只支持ASCII码的字符串.
 
+
===Usage examples: ===
+
PHP:
+
TwitterOAuthLib; documentation; live demo, by @abraham
+
epicode; documentation; by @jmathai
+
PHP PECL Twitter example
+
Python:
+
Google App Engine example; live demo; by @tav and @tweetpros
+
Django example; by @dougireton
+
Ruby:
+
Twitter Ruby on Rails OAuth tutorial
+
OAuth REST API client library; live demo, by @moomerman
+
.NET
+
OAuth with .NET; live demo, by @swhitley
+
        Do you have an example to share in the language of your choice? Please share!
+

2009年11月13日 (五) 16:33的版本

目录

oauth/access_token

第三放应用使用开始的request_token来换取用户授权过的Access_token Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Secion 6.3 of the OAuth 1.0 authentication flow.

URL地址:

http://api.t.sina.com.cn/oauth/access_token

返回数据格式:

OAuth HTTP Authorization Scheme

HTTP 请求方法:

POST

调用频率限制:

FALSE

请求参数说明:

  • 参考Oauth协议第六章
  • See Section 6 of the OAuth Core Specification for required parameters

说明:

  • oauth_nonce 参数只支持ASCII码的字符串.