2/emotions/en

跳转到: 导航, 搜索
(Created page with '{{api_desc_v2_en| uri=emotions| desc=Return all the relative informations of Sina Weibo official emotions.| httpMethod=GET| needAuth=true| level=normal| rateLimit=false| params={…')
 
第7行: 第7行:
 
rateLimit=false|
 
rateLimit=false|
 
params={{api_args|type|false|string|Emotion type. “face”: common emotion. “ani”: magic emotion. “cartoon”: cartoon emotion. Default is "face".}}
 
params={{api_args|type|false|string|Emotion type. “face”: common emotion. “ani”: magic emotion. “cartoon”: cartoon emotion. Default is "face".}}
{{api_args|language|false|string|Language type, “cnname”: simplified Chinese, “twname”: traditional Chinese.Default is "cnname".}}|
+
{{api_args|language|false|string|Language type. “cnname”: simplified Chinese. “twname”: traditional Chinese.Default is "cnname".}}|
 
result=
 
result=
 
<pre>
 
<pre>

2012年1月4日 (三) 15:46的版本

emotions

Return all the relative informations of Sina Weibo official emotions.

URL

https://api.weibo.com/2/emotions.json

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

true
See the Login and Authorization Mechanism Statement for login and authorization details.

Requests Count Limitation

Level:normal
Count Limitation:false
See the Interface Access Rights Statement for the request count limitation details.

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth.The value of this parameter is the AppKey.
access_token false string This parameter is required when using OAuth.You will get the access_token after oauth authorization.
type false string Emotion type. “face”: common emotion. “ani”: magic emotion. “cartoon”: cartoon emotion. Default is "face".
language false string Language type. “cnname”: simplified Chinese. “twname”: traditional Chinese.Default is "cnname".

Notes

None

Response

JSON Example

[
    {
        "category": "休闲",
        "common": true,
        "hot": false,
        "icon": "http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/eb/smile.gif",
        "phrase": "[呵呵]",
        "picid": null,
        "type": "face",
        "url": "http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/eb/smile.gif",
        "value": "[呵呵]"
    },
    ...
]

See the Error Code Description for the error information details.

Field Description

None

Others

None



Language: [[{{{2/uri}}}|中文]]