Exemple #1
0
        /// <summary>
        /// Invite friends through a specific invite provider.
        /// </summary>
        /// <param name="provider">The provider through which the invite will be sent.</param>
        /// <param name="subject">The subject to be sent with the invite. If it is null the default subject set on GetSocial Dashboard is sent.</param>
        /// <param name="text">The text to be sent with the invite. NOTE: you can use following tags to customize text:
        ///     [APP_INVITE_URL] - tag is replaced with url to download the app;
        ///     [APP_NAME] - tag is replaced with app name configured on the GetSocial Dashboard. If it is null the default text set on GetSocial Dashboard is sent.</param>
        /// <param name="image">The image to be sent with the invite. If it is null the default image set on GetSocial Dashboard will be sent.</param>
        /// <param name="referralData">The bundle to be sent with the invite. It can be null.</param>
        public void InviteFriendsUsingProvider(string provider, String subject = null, string text            = null,
                                               byte[] image = null, IDictionary <string, string> referralData = null)
        {
            Check.Argument.IsStrNotNullOrEmpty(provider, "provider", "Provider can't be null or empty");

            getSocialImpl.InviteFriendsUsingProvider(provider, subject, text, image, referralData);
        }