Skip to content
An utility for client developers with CoreTweet
Branch: master
Clone or download

Latest commit

Latest commit 34d3050 Apr 3, 2017


Type Name Latest commit message Commit time
Failed to load latest commit information.
src/CoreTweetSupplement Remove wasted comment Apr 2, 2017
test/CoreTweetSupplement.Tests Return no TextPart if the length is zero Apr 2, 2017
.gitattributes Remove trailing spaces Sep 6, 2014
.gitignore Migrate to csproj Apr 2, 2017
CoreTweetSupplement.sln Migrate to csproj Apr 2, 2017
LICENSE.txt Migrate to csproj Apr 2, 2017 GetExtendedTweetElements May 29, 2016
appveyor.yml Migrate to csproj Apr 2, 2017


Provides useful extensions for client developers; made for CoreTweet.

How to Install

If you use NuGet, run the following command:

PM> Install-Package CoreTweetSupplement

If not, add one file to your project.


ParseSource(this Status)

This is a method to parse HTML-formated source field. Returns a Source struct, which includes the name of the source app and the URI of that.

StatusResponse status = token.Statuses.Show(id => 469320399126134784);
Source source = status.ParseSource();
//source.Name: "twicca"
//source.Href.AbsoluteUri: ""

EnumerateTextParts(this Status/DirectMessage)

This is a method to split the text into Tweet Entities. Enumerates order sorted and HTML-decoded parts of the text.

Example: TestEnumerateTextParts

GetExtendedTweetElements(this Status)

A variation of EnumerateTextParts which supports the new structure of Tweets.

GetProfileImageUrl / GetProfileImageUrlHttps(this User, string)

This is a method to get a URL pointing to the user's avatar image with given size.

Example: TestAlternativeProfileImageUri

You can’t perform that action at this time.