How to Search
You can search for users, posts, blogs, and hashtags from the app or the API.
In the app (UI)
- Log in and find the search control (e.g. search icon or bar at the top).
- Click or tap it and type your query (name, keyword, hashtag, etc.).
- Filter by type if the app offers it (e.g. People, Posts, Blogs, Hashtags).
- Browse the results; click a result to open that user’s profile, post, blog, or hashtag page.
- Your recent searches may appear; you can clear search history in settings if the app allows.
Via the API
Universal search (all types):
GET /api/Search?q=your+query&types=user,post,blog,hashtag&page=1&pageSize=20
Authorization: Bearer {token}
Search by type:
- Users:
GET /api/Search/users?q=...&page=1&pageSize=20 - Posts:
GET /api/Search/posts?q=... - Blogs:
GET /api/Search/blogs?q=... - Hashtags:
GET /api/Search/hashtags?q=...
Autocomplete:
GET /api/Search/autocomplete?q=partial&type=user&limit=10
Authorization: Bearer {token}
Blocked users are excluded from search results.
Next steps
- Search feature — indexes and API details
- Tutorials intro