Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TwitterIntentSample
using System;
namespace TwitterWebIntentSample
{
class Program
{
static string TWITTER_INTENT_URI = "https://twitter.com/intent/tweet?text=";
static void Main(string[] args)
{
var inputStr = Console.ReadLine();
Console.WriteLine(TWITTER_INTENT_URI + Uri.EscapeUriString(inputStr));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment