Search hashtags

Please use this (https://sosial.wiltech.my.id//mobile_api/search_hashtags) API to access hashtags searching endpoint


Get parameters

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

Success response

{
        "code": 200,
        "message": "Results found",
        "data":[
            {
                "id": 6,
                "posts": 1,
                "tag": "covid",
                "time": "1605781894",
                "hashtag": "#covid",
                "url": "http://colibri.loc/search/posts?q=covid",
                "total": "1"
            }
        ]
    }
    

Error responses

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

    {
        "code": 400,
        "message": "The search term is invalid or missing",
        "data": []
    }
    

Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/opt/alt/php74/var/lib/php/session) in Unknown on line 0