TweetExtensions.AutoLink Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

AutoLink(string, bool)

Auto-link @mentions, #hashtags, $cashtags and urls.

public static string AutoLink(this string text, bool br = false)

Parameters

text
string

text of the Tweet to auto-link

br
bool

When true converts line breaks to <br />

Returns

string

text with auto-link HTML added