C/2/friendships/show/biz-en

跳转到: 导航, 搜索

friendships/show/biz

Return the relationship of two users.

URL

https://c.api.weibo.com/2/friendships/show/biz.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


Request all APIs:

    • 50000/hour/IP;

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.
source_id false int64 User ID of the subject user.
source_screen_name false string User nickname of the subject user.
target_id false int64 User ID of the target user.
target_screen_name false string User nickname of the target user.

Notes

  • You must provide a parameter either source_id or source_screen_name.
  • You must provide a parameter either target_id or target_screen_name.

Response

JSON Example

{
    "target": {
        "id": 1418348195,
        "screen_name": "zaku",
        "followed_by": false,
        "following": false,
        "notifications_enabled": false
    },
    "source": {
        "id": 1734528095,
        "screen_name": "檀木幻想",
        "followed_by": false,
        "following": false,
        "notifications_enabled": false
    }
}

See the Error Code Description for the error information details.

Field Description

None

Others

None

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


文档更新时间: 2017-08-02