Hi Luka,
I have not updated the version of TweetInvi I'm using in a while now, so how things work may have changed, but it's worth a shot atleast.
Remove this line
Failing that could you post the error you're getting?
I have not updated the version of TweetInvi I'm using in a while now, so how things work may have changed, but it's worth a shot atleast.
Remove this line
TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials("xxxxx", "xxxxx", "xxxxx", "xxxxx");
and try building the app again, failing that move the line TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials("xxxxx", "xxxxx", "xxxxx", "xxxxx");
above TwitterCredentials.SetCredentials("xxxxx", "xxxxx", "xxxxx", "xxxxx");
So you'd want: TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials("xxxxx", "xxxxx", "xxxxx", "xxxxx");
TwitterCredentials.SetCredentials("xxxxx", "xxxxx", "xxxxx", "xxxxx");
In my apps, I only need the .SetCredentials line, but if you require both I believe .CreateCredentials would need to be called before .SetCredentials. (You can't set something before it's been created)Failing that could you post the error you're getting?