Also rewrite RT URLs
This commit is contained in:
parent
6ab26f9f7a
commit
7fbd12102b
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ namespace BirdsiteLive.Twitter.Extractors
|
|||
{
|
||||
if (tweet.RetweetedTweet != null)
|
||||
{
|
||||
return tweet.RetweetedTweet.Url;
|
||||
var uri = new UriBuilder(tweet.RetweetedTweet.Url);
|
||||
uri.Host = _instanceSettings.TwitterDomain;
|
||||
|
||||
return uri.Uri.ToString();
|
||||
}
|
||||
if (tweet.FullText.Contains("https://t.co/"))
|
||||
{
|
||||
|
|
Reference in a new issue