Fetch Following Users
Please use this (https://YOUR-SITE.COM/mobile_api/fetch_following) API for accessing endpoint of user (following) list
Get parameters
Field | Value | Remarks |
---|---|---|
offset | Last user offset ID | This is only needed when loading users of the pagination system. |
session_id | Access token ID (Optional) | E.g. de25cc16eb00960f076... |
page_size | Total users limit for each request | Recommended: 20 |
Success response
{
"code": 200,
"valid": true,
"message": "Following fetched successfully",
"data": [
{
"offset_id": 56,
"id": 64,
"about": "Lorem ipsum dolor sit amet, consectetur adipisicing elit",
"followers": 4493,
"posts": 6750,
"avatar": "http://colibri.loc/upload/default/avatar.png",
"last_active": "13 May, 20 11:05 AM",
"username": "@tim_dugelman",
"fname": "Tim",
"lname": "Dugelman",
"email": "[email protected]",
"verified": "1",
"name": "Tim Dugelman",
"url": "http://colibri.loc/@tim_dugelman",
"is_following": true,
"is_user": false
},
{
"offset_id": 55,
"id": 34,
"about": "Lorem ipsum dolor sit amet, consectetur adipisicing elit",
"followers": 4510,
"posts": 5269,
"avatar": "http://colibri.loc/upload/default/avatar.png",
"last_active": "09 Sep, 20 08:09 PM",
"username": "@jack_nelson",
"fname": "Jack",
"lname": "Nelson",
"email": "[email protected]",
"verified": "0",
"name": "Jack Nelson",
"url": "http://colibri.loc/@jack_nelson",
"is_following": true,
"is_user": false
}
]
}
Error responses
{
"message": "No data found",
"code": 204,
"data": []
}
{
"err_code": "invalid_request_data",
"code": 404,
"message": "User with this ID does not exist",
"data": []
}
{
"code": 400,
"err_code": "invalid_request_data",
"message": "This profile data is not available for viewing",
"data": []
}