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
1
vote
2 answers

Twitter streaming api with linq2twitter / tweetinvi

I want to create C# Web API project to i.) get all the status tweets of userID (need help/guidance, as data could be large, so what are my options) ii.) store them to Azure DB (hoping, I can achieve this) iii.) get DB values and display JSON…
sravan
  • 93
  • 1
  • 8
1
vote
0 answers

Stream tweets of specific account\s doesn't work with Tweetinvi

I'm trying to use tweetinvi to follow specific users in a streaming mode. I try to test AddFollow with my twitter account (tweet something and see if it catches that) - doesn't work (BTW - AddTrack do work) How do I get my twitter user ID (is…
user1025852
  • 2,684
  • 11
  • 36
  • 58
1
vote
2 answers

Tweetinvi Get All Tweets from a Screenname

I'm trying to use Tweetinvi to retrieve all the tweets made by a particular screen name. I've tried GetUserTimeLine (see below) but it shows tweets from all the people I follow instead of just mine. IUser user =…
Travis
  • 67
  • 2
  • 7
1
vote
1 answer

Tweetinvi Unable to get tweets constantly 24/7 with not getting stuck

I'm trying to find out why tweetinvi streaming library is getting stuck when it's getting too much tweets from the followers, that I add with the function AddFollow(). In this function I'm putting 600 followers using a list that I create. Each of…
1
vote
1 answer

(401) Unauthorized calling https://api.twitter.com/oauth/access_token using tweetinvi

I started playing with tweetinvi to connect to twitter api. I keep getting "The remote server returned an error: (401) Unauthorized." error message when I call CredentialsCreator.GetCredentialsFromVerifierCode() after being redirected. I added my…
Kathy Judd
  • 715
  • 3
  • 9
  • 21
1
vote
2 answers

Stream tweets which mention @friendname

I have a C# application that streams all tweets created by any of my friends successfully (using Tweetinvi library and following code). var userStream = Tweetinvi.Stream.CreateUserStream(); userStream.TweetCreatedByFriend += (sender, args) => { …
theGeekster
  • 6,081
  • 12
  • 35
  • 47
1
vote
1 answer

How can I convert Tweetinvi's args.json to object

I am using Tweetinvi to get Twitter stream, quite easy/friendly to use but unable to parse Json to a Tweet. Can anybody help me converting/parsing args.Json to a Tweet (using Newtonsoft.json)? filteredStream.JsonObjectReceived += (sender, args)…
theGeekster
  • 6,081
  • 12
  • 35
  • 47
1
vote
2 answers

BackgroundWorker strange issues

Turns out there was an issue with the GetUserByID method, then library was updated and the problem seems to have gone away, still learnt how to better access the GUI off thread. I wrote an application using the TweetInvi library, It retrieves a…
Pheonix2105
  • 1,001
  • 2
  • 9
  • 24
1
vote
1 answer

Observable vs FSharpx asyncSeq

I have the following tweet stream class. It has the TweetReceived event which can be used with the other components of my system. It seems to work ok but I have the feeling that it's more complicated than it should be. Are there any tools out there…
vidi
  • 2,056
  • 16
  • 34
1
vote
1 answer

Library that supports Connecting to Twitter API using SSL

I have been using both the tweetsharp and teeetinvi libraries to access Twitter. Unfortunately tweetsharp is no longer supported and the release version of tweetinvi does not (yet) fully support SSL/TDS. Twitter will require SSL/TDS (Restricting…
JonnyBoats
  • 5,177
  • 1
  • 36
  • 60
0
votes
0 answers

Stream cannot be read TweetInvi lib

I need to write the code responsible for notifications about the release of a new tweet from a specific user. Here is my code: var userClient = new TwitterClient(consumerKey, consumerSecret, accessToken, accessTokenSecret); long userId = id; …
0
votes
1 answer

C# - Tweet API v2 - Attach Media to Tweet / Create JsonProperty

for your information Im using the"TweetinviAPI (5.0.4)" nugget package I found here something related to post a tweet with media, but I dont know how to use it in…
Pooki
  • 13
  • 3
0
votes
0 answers

Using Streams of the Twitter API in .net Core console application

I am trying to use the Twitter API to listen for new tweets matching a certain keyword, but I can't seem to get it working. I have been able to successfully push and read tweets using my API credentials, so I know that my credentials are valid. Here…
Anton
  • 3
  • 3
0
votes
0 answers

errors collecting tweets from twitter stream api, using Tweetinvi 5.04

I have a service that collect tweets from twitters stream API, fillterd by Keywords. It worked fine till last tuestday, that start throw this error: Code : 403 Error documentation description : Forbidden - The request is understood, but it has been…
0
votes
0 answers

.NET MAUI Blazor Hybrid (.NET 7) TweetinviAPI not working on iOS

I am working on a .NET MAUI Blazor Hybrid (.NET 7) mobile app and using TweetinviAPI 5.0.4 (https://github.com/linvi/tweetinvi). When I test my app locally on my iPhone iOS (16.0.3) it is not working and get the following stack trace error: [0:]…
seanrco
  • 935
  • 5
  • 16
  • 32