Skip to content

Commit

Permalink
Fix issue #471 Use user name instead of id for the token
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas694 committed Sep 29, 2023
1 parent 5acde8c commit df1c573
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ private string BuildFileName(string url, Tweet post, string type, int index)
reblogId = (post.Legacy.RetweetedStatusResult.Result.Legacy ?? post.Legacy.RetweetedStatusResult.Result.TweetWithVisibilityResults.Legacy).IdStr;
}
var tags = GetTags(post);
return BuildFileNameCore(url, post.Legacy.UserIdStr, GetDate(post), UnixTimestamp(post), index, type, post.Legacy.IdStr,
return BuildFileNameCore(url, post.User.Legacy.ScreenName, GetDate(post), UnixTimestamp(post), index, type, post.Legacy.IdStr,
tags, "", GetTitle(post.Legacy.FullText, tags), reblogName, "", reblogId);
}

Expand Down

0 comments on commit df1c573

Please sign in to comment.