Created
December 8, 2015 19:32
-
-
Save benevolent0505/1d681288ec031cb29c5f to your computer and use it in GitHub Desktop.
TwitterIntentSample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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