Twittner Twittner API
Overview
Introduction
Authentication
Login POST Signup POST Social Login POST Reset Password POST Refresh Token POST Verify Account POST Logout POST
User Profile
Profile Data POST Update Profile POST Avatar & Cover POST Privacy Settings POST Change Password POST Change Language POST Delete Account POST
Content
Post & Reply POST Timeline Feed POST Thread Data POST Pin Post POST Delete Post POST Swifts POST
Social
Follow & Unfollow POST Fetch Followers POST Fetch Following POST Follow Requests POST
Engagement
Like & Unlike POST Vote on Polls POST Bookmarks POST Repost POST Report Post POST
Search
Search Hashtags POST Search People POST Search Posts POST
Messaging
Messages POST
Notifications
Get Notifications POST Delete Notifications POST Push Token POST
Moderation
Block User POST Report Profile POST
Back to Twittner
API / Social / Follow Requests
Fetch requests - 1 Approve - 2 Delete - 3

Fetch follow requests

Please use this (https://twittner.com/mobile_api/follow_requests) API for accessing endpoint of user (follow requests) 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,
        "message": "Follow requiests fetched successfully",
        "data": [
            {
                "offset_id": 43,
                "id": 18,
                "about": "",
                "posts": 1,
                "avatar": "https://twittner.com/upload/avatars/xxx/xxx/rddNMSoS6S7cEgHO49Ch_20_45...b8_thumbnail_512x512.jpg",
                "last_active": "21 Jun, 21 02:06 PM",
                "username": "@john_smith",
                "fname": "John",
                "lname": "Smith",
                "email": "john_smith@gmail.com",
                "verified": "0",
                "name": "John Smith",
                "url": "https://twittner.com/@john_smith",
                "pending_req": true
            },
            {...}
        ]
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 204,
        "message": "No data found",
        "data": []
    }
    

Approve follow requests

Please use this (https://twittner.com/mobile_api/accept_follow) API for accessing endpoint of user (follow requests) accepting


Post parameters

Field Value Remarks
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
req_id ​Follow request int ID E.g. 34

Success response

{
        "message": "Subscription request successfully accepted",
        "code": 200,
        "data": {
            "total": 0
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Follow request ID is missing or invalid",
        "data": []
    }
    

Delete follow requests

Please use this (https://twittner.com/mobile_api/ignore_follow) API for accessing endpoint of user (follow requests) deleting. I.e. Ignoring requests


Post parameters

Field Value Remarks
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
req_id ​Follow request int ID E.g. 34

Success response

{
        "message": "Subscription request successfully deleted",
        "code": 200,
        "data": {
            "total": 0
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Follow request ID is missing or invalid",
        "data": []
    }