twitterwindows-phone-8hammock

Twitter windows phone 8 integration


Hello I am trying to run this sample http://code.msdn.microsoft.com/Latest-Twitter-integration-a42e8bb6 but I am getting an error.

An exception of type 'System.ArgumentException' occurred in Hammock.WindowsPhone.Mango.DLL but was not handled in user code


Solution

  • To work with Twitter, you have to register your app at Twitter Developer Site. To do so, after you successfully logged in Twitter, you've to go to My Applications | Create a New Application. Now you have to fill the details of your app.

    After getting those keys, go to Class1.cs and modify the consumerKey and the consumerKeySecret.