search_posts_count()#
- Client.search_posts_count()#
Get the count of posts with hashtag resulting from a search.
If you want to get the actual posts, see
Usable by Users Botssearch_posts()
.- Parameters:
hashtag (
str
) – Text query string.- Returns:
int
– On success, the posts count is returned.