private async Task OpenUserAppointUrl()
{
if (this._cfgCommon.UserAppointUrl != null)
{
if (this._cfgCommon.UserAppointUrl.Contains("{ID}") || this._cfgCommon.UserAppointUrl.Contains("{STATUS}"))
{
if (_curPost != null)
{
string xUrl = this._cfgCommon.UserAppointUrl;
xUrl = xUrl.Replace("{ID}", _curPost.ScreenName);
var statusId = _curPost.RetweetedId ?? _curPost.StatusId;
xUrl = xUrl.Replace("{STATUS}", statusId.ToString());
await this.OpenUriInBrowserAsync(xUrl);
}
}
else
{
await this.OpenUriInBrowserAsync(this._cfgCommon.UserAppointUrl);
}
}
}