Facebook Query Types
Discover different ways to search for profiles, posts, fanpages, groups, and commenters on Facebook to configure your automated campaigns.
ViralSparx provides standard and advanced query types to target Facebook interactions. This allows you to build targeted campaign lists by scraping active users, groups, posts, and followers matching specific criteria.
1. Search Query Configuration
Use the Query Type dropdown selection under the Search Query Configuration panel to select your target search methodology. Enter the keywords, profile URLs, page URLs, or group URLs corresponding to your chosen query type.
2. Supported Query Types & Format Reference
Below is a breakdown of the 16 supported query types. Target urls or text strings must match the formatted guidelines shown in the queries list:
Queries List - Part 1
- Keywords: Targets standard search terms on Facebook (e.g.,
harish). - Location: Filters users or posts associated with locations (e.g.,
india). - Group Members: Extracts members from group URLs (e.g.,
https://www.facebook.com/groups/[group-id]). - Fanpage Likers: Targets users who have liked specific Fanpages (e.g.,
https://www.facebook.com/profile.php?id=[profile-id]). - Friend Of Friend: Targets secondary connections from a targeted profile URL.
- Post Likers / Post Sharer / Post Commenters: Targets users interacting with custom posts or Reels (e.g.,
https://www.facebook.com/share/r/[post-id]/).
Queries List - Part 2
- Graph Search Url: Allows advanced scraping using structured Graph Search queries.
- Page Post Likers / Page Post Commenters: Scrapes users interacting with page posts.
- Group Post Likers / Group Post Commenters: Scrapes users interacting with group posts.
- Custom Profile Url: Focuses on specific profiles (e.g.,
https://www.facebook.com/sigiro.sigiro.54). - Suggested Friends: Searches Facebook's internal friend suggestion feeds.
- User Follower: Targets followers of a specific profile (e.g.,
https://www.facebook.com/nisha.khande.902).
Campaign Execution Tips
You can add multiple queries of different types to a single campaign queue. The automation logic will run through each query type sequentially to scrape targets and execute actions based on your filters.
Learn about Facebook User & Post Filters