using UnityEngine;
using System;

namespace mgaia.Utils
{
    /// <summary>
    /// Extensões do Twitter
    /// </summary>
    /// <owner>Victor</owner>
    public static class TwitterExtensions
    {
        /// <summary>
        /// Abre a página do perfil do usuário de nome passado
        /// </summary>
        public static void OpenProfilePage(string profileName)
        {
            ApplicationExtensions.MakeExternalIntent(Constants.TWITTER_PACKAGE_IDENTIFIER, String.Format(Constants.TWITTER_PROFILE_INTENT_FORMAT, profileName), String.Format(Constants.TWITTER_PROFILE_URL_FORMAT, profileName));
        }
    }
}