updatestatus

Feb 25, 2013 at 9:07 AM
I dont see API function updateStatus when working in VB.NET project?
Coordinator
Feb 25, 2013 at 9:33 AM
Hi,

VB is definitely supported. I have VB demos in the downloadable source code. Here's an example of UpdateStatus:
        Dim statusMsg As String = "Testing LINQ to Twitter (with VB) with reply on " & DateTime.Now.ToString() & " #linqtotwitter"

        Console.WriteLine("Status being sent: " & statusMsg)

        Dim tweet = twitterCtx.UpdateStatus(statusMsg)

        Console.WriteLine( _
            "Status returned: " & _
            "(" & tweet.ID & ")" & _
            "[" & tweet.User.ID & "]" & _
            tweet.User.Name & ", " & _
            tweet.Text & ", " & _
            tweet.CreatedAt)
@JoeMayo
Feb 25, 2013 at 9:58 AM
Here is my screenshot you can see the the updateStatus is not in the list. I'm using the latest DLL ASP.NET for VB.NET in VS2010.

http://www.2shared.com/photo/hRodFEsN/screenshot.html
Coordinator
Feb 25, 2013 at 3:10 PM
Click the "All" tab - or just type "UpdateStatus".
Feb 25, 2013 at 3:23 PM
I'm affraid its not in the list, if I type it just gives me an error saying it doesn't exist.
May 6, 2013 at 2:03 PM
Edited May 6, 2013 at 2:03 PM
I have the same problem in VS2012 express edition, the UpdateStatus function is not there and if I type it I get a compile error. I got the package using NuGet. Is there any solution for this?
Coordinator
May 10, 2013 at 6:12 AM
Hi,

I'm not sure what to do here because I have VS2012 (full version) and am not seeing a problem. If it helps, these are extension methods and can be found in the <EntityName>Extension classes. i.e. StatusExtensions.UpdateStatus.

@JoeMayo