---
title: "X rules logic"
description: "Additional context for X (Twitter) rules logic"
keywords: ["X rules logic", "Twitter rule validation", "social rule processing", "X loyalty verification"]
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.snagsolutions.io/llms.txt). Append `.md` to any page URL for its markdown version.

We have two approaches to rewarding contributions on X (formerly Twitter) depending on partner requirements, and can support both out of the box:

### **Recommended Approach**

This approach is a X API ‘workaround’, allowing us to read the user’s completed actions without the additional cost associated with the X platform’s APIs and most of the functionality. Available logic includes:

1. Comment on specific X post.
2. Repost specific X post.
3. Follow X account for as long as the quest is live.
4. Use a specific phrase in a post or reply (ie. “Snag Solutions is 🐐’ed”).
5. Use a specific phrase in your bio.
6. Use a specific phrase in your username.

### **Requires X API**

This approach requires your X API key be inputted into your loyalty program builder by a Snag admin, and typically requires the X Pro plan which starts at \$5,000 to not miss any data. These quests query all actions associated with a specific rule vs. requiring a user to claim based on engaging with a specific post or account to capture all contributions. Available logic includes:

1. Repost on X.
2. Quote or Comment on an X post.
3. Like a post on X.
4. X post liked by project’s main account (Pacmoon style rewards):
   - Add a multiplier for verified X accounts.
   - Reward users based on the impression of their post.
5. Mention (@) or Hashtag (#) rewards (i.e 10 points / #winning / day).
