示例#1
0
    private void GetReferrerUsers()
    {
        var query = _referrerEvent.Length == 0 ? ReferralUsersQuery.AllUsers() : ReferralUsersQuery.UsersForEvent(_referrerEvent);

        GetSocial.GetReferrerUsers(query, referralUsers =>
        {
            DemoUtils.ShowPopup("Referrer Users", GetReferralUsersInfo(referralUsers));
        }, error =>
        {
            _console.LogE(string.Format("Failed to get referrer users: {0}", error.Message));
        });
    }