Need Help retrieving followers list of a user TwitterVB

Oct 25, 2010 at 12:36 AM

Hi, i need some help, i am coding a Visual Basic (2005) app for manage my twitter account and when i try to retrieve the list of followers from a user there is an Exception thrown: {an item with the same key has already been added.}. The code works for user who have small list of followers, it retrieves the info with no problem, but if i try a user with a lot of followers it says that.

Below the code i have for a button named "Get User Followers" that gets the followers one by one and add them to a listbox1.

Private Sub Button11_Click()         

Dim tw As New TwitterAPI        

Dim tp As New TwitterParameters

tw.AuthenticateWith(ConsumerKey, ConsumerKeySecret, OAuthToken, OAuthTokenSecret)      

tp.Add(TwitterParameterNames.ScreenName, user_to_get_followers_from)             


  For Each Follower As TwitterUser In tw.Followers(tp)


        Catch ex As Exception
             MsgBox("Exception Thrown " & vbCrLf & ex.Message)                    

End Try
End Sub

I would appreciate some help.

I am using TwitterVB btw.