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 / Engagement / Bookmarks
Get bookmarks - 1 Add bookmark - 2

Get bookmarks

Please use this (https://twittner.com/mobile_api/get_bookmarks) API for accessing get user bookmarks endpoint


Get parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
page_size ​Total post limit for each request Recommended: 20
offset Last post offset ID This is only needed when loading posts of the pagination system.

Success response

{
        "code": 200,
        "message": "Bookmarks fetched successfully",
        "data":[
            {"id": 36, "user_id": 7, "text": "retw", "type": "text", "replys_count": "1",…},
            {"id": 38, "user_id": 7, "text": "ert", "type": "text",…},
            {"id": 39, "user_id": 7, "text": "ert", "type": "text",…},
            {"id": 40, "user_id": 7, "text": "erter", "type": "text",…}
        ]
    }
    

Error responses

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

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

Add bookmark / Unbookmark

Please use this (https://twittner.com/mobile_api/add_bookmark) API for accessing bookmark/unbookmark post endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
post_id Bookmarked/Unbookmarked post int ID E.g. 4567

Success response

{
    	"code": 200,
    	"message": "",
    	"data": {
    		"bookmark": false
    	}
    }
    

Error responses

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

    {
    	"code": 400,
    	"message": "Post id is missing or invalid",
    	"data": []
    }