Skip to content

Instantly share code, notes, and snippets.

@benevolent0505
Created December 8, 2015 19:32
Show Gist options
  • Save benevolent0505/1d681288ec031cb29c5f to your computer and use it in GitHub Desktop.
Save benevolent0505/1d681288ec031cb29c5f to your computer and use it in GitHub Desktop.
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