My / User profile data
Please use this (https://febob.com/mobile_api/profile) API to access user profile data fetching endpoint
Get parameters
Field | Value | Remarks |
---|---|---|
user_id | Profile user ID | In order to get information about the profile, you must send a valid ID or username |
username | Profile username | Unique username. E.g. "mansur_tl" |
session_id | User auth token (Optional) | In this case, authorization is not required, but it is desirable to determine whether you are subscribed to this profile or not, blocked or not, etc. |
Success response
{
"code": 200,
"message": "Profile fetched successfully",
"data":{
"id": 79,
"first_name": "rwefwe",
"last_name": "werwer",
"avatar": "https://febob.com/upload/avatars/2020/05/thumbnail_120x120.png",
"cover": "https://febob.com/upload/covers/2020/11/image_cover.jpg",
"user_name": "3324",
"email": "dan_kassings@gmail.com",
"is_verified": false,
"website": "",
"about_you": "",
"gender": "M",
"country": "United States",
"post_count": 0,
"about": "",
"ip_address": "127.0.0.1",
"following_count": 0,
"follower_count": 0,
"language": "english",
"last_active": "1601390105",
"profile_privacy": "everyone",
"member_since": "Sep 2020",
"is_blocked_visitor": false,
"is_following": false,
"can_view_profile": true
}
}
Error responses
{
"code": 400,
"message": "User ID is missing or invalid",
"data": []
}
{
"code": 400,
"message": "User ID is missing or invalid",
"data": []
}
Fetch profile posts
Please use this (https://febob.com/mobile_api/profile_posts) API to access user profile posts fetching endpoint
Get parameters
Field | Value | Remarks |
---|---|---|
user_id | Profile user ID | In order to get information about the profile, you must send a valid ID |
type | Profile posts type (posts/media/liked) | E.g. `posts` in order to get user publications |
session_id | User auth token (Optional) | In this case, authorization is not required, but it is desirable to determine whether you are subscribed to this profile or not, blocked or not, etc. |
offset | Last post offset ID | This is only needed when loading posts of the pagination system. |
page_size | Total post limit for each request | Recommended: 20 |
Success response
{
"code": 200,
"message": "Posts fetched successfully",
"data": {
"posts": [
{
"id": 74,
"user_id": 7,
"text": "",
"type": "image",
"replys_count": "0",
"reposts_count": "0",
"likes_count": "1",
"status": "active",
"thread_id": 0,
"target": "publication",
"og_data": "",
"time": "2 minutes ago",
"offset_id": 82,
"is_repost": false,
"is_reposter": false,
"attrs": "",
"advertising": false,
"time_raw": "1605809671",
"og_text": "",
"og_image": "http://colibri.loc/upload/images/2020/11/FqDafAGzJSkbNHtWlzMZ_19_3ae1e109ba500931d882d2f10e521a31_image_original.jpg",
"url": "http://colibri.loc/thread/74",
"can_delete": false,
"media":[
{
"id": 52,
"pub_id": 74,
"type": "image",
"src": "upload/images/2020/11/FqDafAGzJSkbNHtWlzMZ_19_3ae1e109ba500931d882d2f10e521a31_image_original.jpg",
"json_data": "{\n \"image_thumb\": \"upload\\/images\\/2020\\/11\\/HM9AjSxebhwUM1xETCWq_19_3ae1e109ba500931d882d2f10e521a31_image_300x300.jpg\"\n}",
"time": "1605809668",
"x":{"image_thumb": "upload/images/2020/11/HM9AjSxebhwUM1xETCWq_19_3ae1e109ba500931d882d2f10e521a31_image_300x300.jpg"}
}
],
"is_owner": false,
"has_liked": false,
"has_saved": false,
"has_reposted": false,
"reply_to":[],
"owner":{"id": 7, "url": "http://colibri.loc/@dan_kassing", "avatar": "http://colibri.loc/upload/default/avatar.png",…}
},
{"id": 73, "user_id": 7, "text": "", "type": "image",…},
{"id": 72, "user_id": 7, "text": "how to get more twitter followers", "type": "text",…},
{"id": 7, "user_id": 7, "cover": "http://colibri.loc/upload/covers/2020/09/Y34uzzA8rsQCmhGOC5Qo_18_8cebe1d4683c6defe9fdc69cd94744bc_image_cover.jpg",…}
]
}
}
Error responses
{
"code": 400,
"message": "User ID is missing or invalid",
"data": []
}
{
"code": 400,
"message": "User ID is missing or invalid",
"data": []
}