Oauth/authorize

跳转到: 导航, 搜索
(Parameters:)
(oauth/authorize)
第4行: 第4行:
 
Allows a Consumer application to use an OAuth Request Token to request user authorization. This method fulfills Secion 6.2 of the OAuth 1.0 authentication flow. Desktop applications must use this method (and cannot use oauth/authenticate).
 
Allows a Consumer application to use an OAuth Request Token to request user authorization. This method fulfills Secion 6.2 of the OAuth 1.0 authentication flow. Desktop applications must use this method (and cannot use oauth/authenticate).
  
=== URL: ===
+
=== URL地址: ===
 
http://api.t.sina.com.cn/oauth/authorize
 
http://api.t.sina.com.cn/oauth/authorize
 
   
 
   
===Formats:===
+
===返回数据格式:===
 
OAuth HTTP Authorization Scheme
 
OAuth HTTP Authorization Scheme
 
   
 
   
=== HTTP Method(s): ===
+
=== HTTP 请求方法:===
 
GET
 
GET
  
===API rate limited (about rate limiting):===
+
===调用频率限制: ===
 
FALSE
 
FALSE
  
===Parameters:===
+
===请求参数说明::===
 
* 参考OAuth 的第6章
 
* 参考OAuth 的第6章
 
* See Section 6 of the OAuth Core Specification for required parameters
 
* See Section 6 of the OAuth Core Specification for required parameters
  
===Usage notes:===
+
===说明:===
* Sending the parameter oauth_callback=oob will force the PIN-based desktop flow.  
+
* 当请求参数 oauth_callback=oob 则表明为桌面应用,会提示用户做桌面应用操作.
 
+
===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:31的版本

目录

oauth/authorize

获得Request Token之后,需要请求用户授权该Request Token

Allows a Consumer application to use an OAuth Request Token to request user authorization. This method fulfills Secion 6.2 of the OAuth 1.0 authentication flow. Desktop applications must use this method (and cannot use oauth/authenticate).

URL地址:

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

返回数据格式:

OAuth HTTP Authorization Scheme

HTTP 请求方法:

GET

调用频率限制:

FALSE

请求参数说明::

  • 参考OAuth 的第6章
  • See Section 6 of the OAuth Core Specification for required parameters

说明:

  • 当请求参数 oauth_callback=oob 则表明为桌面应用,会提示用户做桌面应用操作.