Questions tagged [tweetinvi]

Tweetinvi is an intuitive .NET C# SDK that provides an easy and intuitive access to the Twitter REST and STREAM API 1.1.

Tweetinvi is a .NET C# SDK that provides easy access to the REST and Stream API. Beyond the classical data access it provide many other helpers classes that can be used across the project.

Tweetinvi has been developed keeping in mind that each of the object have a context. The API provides 3 different classes for Twitter:

  • Users
  • Tweets
  • Messages

These allow any query to be performed in a single method call.

You should use this tag if your question is related to Tweetinvi or any of its classes.

See also:

142 questions
7
votes
2 answers

How do I specify a global HttpWebRequest timeout?

I'm using a twitter library that uses HttpWebRequest internally to make requests to the twitter API. For some odd reason, the requests sometimes take a lot of time to complete (~10 minutes). The HttpWebRequest object is not exposed by the library.…
imlokesh
  • 2,506
  • 2
  • 22
  • 26
4
votes
2 answers

TwitterCredentials.SetCredentials from tweetinvi not found

i installed tweetinvi but the TwitterCredentials.SetCredentials is not found. Install-Package TweetinviAPI How can i solve this.
TotalWar
  • 335
  • 1
  • 6
  • 16
3
votes
1 answer

Twitter api to associate an uploaded video to the media library

I have uploaded a valid mp4 video to twitter, it returns a mediaID and the state is succeeded. Does anyone know how to use the twitter api to associate the uploaded video to the media library? It keeps saying I am "Unauthorized to use media xxxxx".…
tc01
  • 181
  • 4
  • 12
3
votes
1 answer

How can I retrieve all the tweets from a keyword using Tweetinvi?

I am a new C# developer and I am trying to develop an ASP.NET Webforms application to search Twitter using Tweetinvi library. I was able to search Twitter by user and phrase. However, I am struggling now with searching the tweets by phrase as it…
Tech Lover
  • 135
  • 1
  • 12
3
votes
2 answers

Tweetinvi not uploading video greater than 15MB

Im using Tweetinvi and can upload files < 15MB without problem. however over that it fails, even though the Twitter API official docs state "File size should not exceed 15 mb (sync) / 512 mb (async)". I had assumed Tweetinvi would be using async…
Doug Rees
  • 29
  • 3
3
votes
1 answer

How to keep streaming continuously - Tweetinvi

I adapted the following code from one I found online. Works ok but is not running continuously and pulling in new tweets. What do I need to change? Help appreciated. private static void Stream_FilteredStreamExample() { SqlConnection conn = new…
Ibexy I
  • 1,123
  • 6
  • 16
  • 29
3
votes
2 answers

Tweetinvi namespaces are not recognized although dll's are present

I'm using creating a .Net 4.0 application to post stuff to Twitter using the Tweetinvi API. I can't use packages, so I've downloaded the dll's and added them to my project: Yet my includes are showing errors: My error console shows: Error 423 The…
Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203
3
votes
0 answers

Unable to add tracks to already running Tweetinvi Filtered Stream

I am using Tweetinvi Twitter API Wrapper to track multiple users' stream. As per requirement I have to add more tracks (@mentions) to the stream already listening. The code I am using to stop an already running filtered stream and then resuming it…
theGeekster
  • 6,081
  • 12
  • 35
  • 47
2
votes
1 answer

Issue with Twitter API possibly Tweetinvi (Forbidden)

I've been trying for days on this and think that the issue is somewhere with my developer account but thought I'd ask for advice here first before digging in there. I have followed the documentation and multiple tutorials and this should work it…
2
votes
1 answer

TweetInvi does not retrieve tweet's picture

I'm reading tweets using the following code, it works fine but the media object is always empty even if the tweet has a picture but it works fine if the tweet has a video instead of picture! var stream =…
Cassini
  • 119
  • 1
  • 13
2
votes
1 answer

Tweetinvi slow on receiving tweets? Alternatives?

I am trying to improve the speed of a tweet handler, currently using a tweetInvi FilteredStream, but it takes upwards of 8 seconds from a tweet being posted to it being received as an event on my end (till HandleTweet() gets called). var stream =…
2
votes
0 answers

Why the TweetVolume is null when I fetch the Top Trends?

I'm fetching the top trends of twitter using tweetinvi, Some of the trends have the tweet_volume value null, Am I doing anything wrong? Why its null? List topTrends = new List(); ITwitterCredentials creds = new…
Agent Smith
  • 136
  • 10
2
votes
1 answer

Concurrent Usage Of Tweetinvi Auth Class

We are developing a social media monitoring application in ASP.NET (C# - Framework 4.0) and using the Tweetinvi library for Twitter. We must send tweets and search for various Twitter users at the same time. In order to publish tweets, we must…
DemirMengu
  • 51
  • 3
2
votes
1 answer

C# tweetinvi code 408

i am trying to learn connecting C# to Twitter by using tweetinvi. i have no problem while connecting with Twitter Key and Twitter Token then i debug my code, noticed null value on User.GetAuthenticatedUser() however, i'm already authorize the…
Cignitor
  • 891
  • 3
  • 16
  • 36
2
votes
1 answer

Saving Tweetinvi credentials without re-authenticating every time

Basically what I'm trying to do is to get recent tweets from a user and do stuff with them. I'm using Tweetinvi with PIN-based authentication, as described on the website, like this: // Create a new set of credentials for the application var…
Kirill Reuk
  • 128
  • 12
1
2 3
9 10