I found the problem. I had a few lines commented out in Json.cs
I commented it out because this namespace is not being recognised becuase its not compatible with .Net2
using System.Runtime.Serialization.Json;
//The type or namespace Json does not exist in the namespace System.Runtime.Serialization
The xml alternative
url = “http://twitter.com/account/verify_credentials.xml”;
xml = oAuth.oAuthWebRequest(oAuthTwitter.Method.GET, url, String.Empty);
apiResponse.InnerHtml = Server.HtmlEncode(xml);
How do you extract the user id from the xml and send it to a string?
i.e convert xml to string