Latest stories

search_hashtag

  • Inputs
{
    "base": "integer: has dependency to page: for sorting into multiple pages: optional",
    "page": "string: allowed: 'next', 'prev': has dependency to base: for sorting into multiple pages: optional",
    "term": "string: maximum length 50 characters: search term"
}

  • Errors
{
    "must_login": "user must be login",
    "term": [
        {
            "max length is 50": "maximum length of term is 50"
        }
    ]
}

  • Extra Description
Search among all hashtags in messages and captions of public messages

  • Sample
  • Url:
https://api.pantel.me/a/search_hashtag?term=funny
  • Output:
                                {
    "search_result": [
        {
            "base": 1,
            "body": "there is a #jabber #funny #coca_cola in my life",
            "chat_id": "9999af476f58791ce892d8ca4778235c8f33",
            "image_path": null,
            "image_server_id": null,
            "media_type": 1,
            "message_file_path": "7/6/f/c/f/2a11608540cb6338f4b53a3c728/if79aab7b4e57e46afdf18c84c4504bd8.jpg",
            "message_id": 1550907404366826,
            "message_server_id": 1,
            "wall_id": -1001333,
            "wall_name": "wall1"
        },
        {
            "base": 2,
            "body": "there is a #jabber #funny #coca_cola in my life",
            "chat_id": "99991c4c85ab47f973a5d6e01da6e958fdba",
            "image_path": null,
            "image_server_id": null,
            "media_type": 0,
            "message_file_path": null,
            "message_id": 1550906857694867,
            "message_server_id": null,
            "wall_id": -1001330,
            "wall_name": "mywall"
        },
        {
            "base": 3,
            "body": "there is a #jabber #funny #coca_cola in my life",
            "chat_id": "99998058e785d87c7b31d40a94d67fd70ac0",
            "image_path": null,
            "image_server_id": null,
            "media_type": 0,
            "message_file_path": null,
            "message_id": 1550904964879338,
            "message_server_id": null,
            "wall_id": -1001329,
            "wall_name": "walli"
        },
        {
            "base": 4,
            "body": "#funny",
            "chat_id": "99993150577427517c83dde6c974a8569dab",
            "image_path": null,
            "image_server_id": null,
            "media_type": 0,
            "message_file_path": null,
            "message_id": 1550665283753292,
            "message_server_id": null,
            "wall_id": -1001315,
            "wall_name": "wall2"
        }
    ],
    "status": "success",
    "suggested_hashtags": [
        {
            "count": 253,
            "name": "funny_joke"
        },
        {
            "count": 128,
            "name": "funny_news"
        }
    ],
    "time": 1551273768.9252372
}