跳到正文

follow_api.get_followers_by_page ​

Purpose ​

注意: 响应样例为文档编制时点的实测捕获,链上状态变化后可能漂移。 按页返回某账户的关注者。 (EOL) condenser_api.get_followers_by_page 的别名:参数以位置数组形式传入——account:string;page:int(从 0 开始——page 为 0 时返回第一页,每加一页多跳过 page_size 行);page_size:int(必填,最大 100);follow_type:string(可选,默认 blog)。

注意: 行偏移为 page * page_size;page_size 为必填,省略时返回 -32602。

account (string)page (int)page_size (int)
"steemit"05查询关注 steemit 的账户第 0 页(第一页),每页 5 条。
"alice"1100查询关注 alice 的账户第 1 页(跳过前 100 行),每页 100 条。

另见:condenser_api.get_followers_by_page、Paginated API Methods

Parameters ​

PARAMETERS
json
[
  "steemit",
  0,
  5
]

Example ​

BASH
bash
curl -s https://api.steemit.com \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "jsonrpc": "2.0",
    "method": "follow_api.get_followers_by_page",
    "params": [
      "steemit",
      0,
      5
    ],
    "id": 1
  }'

Response ​

RESPONSE
json
[
  {"follower":"etette","following":"steemit","reputation":73.4,"what":["blog",""]},
  {"follower":"victorlives","following":"steemit","reputation":60.17,"what":["blog",""]}
]
Note: response examples are captured at documentation-build time and may drift as chain state changes.