<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Two Questions: Follow System &amp; Referral Rewards]]></title><description><![CDATA[<p dir="auto">Hi BrainCloud team, we have two questions about features we're trying to build.</p>
<hr />
<h3>1. One-Way Follow</h3>
<p dir="auto">We want Player A to follow Player B, but B doesn't have to follow back.</p>
<p dir="auto">The Friend API requires both players to agree, so it doesn't work for us.<br />
Is there a BrainCloud API designed for one-way follow relationships?</p>
<p dir="auto">Also — can <code>GetPresenceOfUsers(profileIds[])</code> fetch profile data for any player,<br />
or does a Friend relationship need to exist first?</p>
<hr />
<h3>2. Referral Rewards for Both Players</h3>
<p dir="auto">Our referral flow:</p>
<ol>
<li>Player A shares their referral code</li>
<li>Player B enters the code</li>
<li>When B reaches level 3, <strong>both A and B receive a diamond reward</strong></li>
</ol>
<p dir="auto">The challenge is rewarding <strong>A</strong> (the referrer). We store A's profile ID in a<br />
Custom Entity when B registers the code, so we always know who referred whom.</p>
<p dir="auto">Two questions:</p>
<p dir="auto"><strong>a)</strong> Does BrainCloud support running a <strong>CloudCode script when a Milestone is<br />
completed</strong>? If yes, we could use a Milestone to reward B automatically at<br />
level 3, and use that script to look up A's profile ID and reward A as well —<br />
no client-side trigger needed.</p>
<p dir="auto"><strong>b)</strong> If not, is there any other server-side mechanism in BrainCloud that can<br />
reward a <em>different</em> player when a specific event occurs?</p>
<hr />
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.getbraincloud.com/topic/351/two-questions-follow-system-referral-rewards</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:24:34 GMT</lastBuildDate><atom:link href="https://forums.getbraincloud.com/topic/351.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 May 2026 04:31:59 GMT</pubDate><ttl>60</ttl></channel></rss>