Questions tagged [linq-to-twitter]

246 questions
1
vote
1 answer

LinqToTwitter issue connecting with the API in ASP.NET Webforms

I've recently been using LinqToTwitter have incorporated it successfully into a couple of sites. One site is giving me a headache though. It appears to authenticate but as soon as you try and iterate over the collection of tweets returned I get an…
paulpitchford
  • 550
  • 5
  • 24
1
vote
2 answers

An item with the same key has already been added in LinqToTwitter search

I made a method to return a list of tweets given their IDs using LinqToTwitter but I get this error message when query is performed: "An item with the same key has already been added." StackTrace: at…
Luis
  • 41
  • 4
1
vote
1 answer

LinqToTwitter user authorization ASP.NET MVC

i am using LinqToTwitter in my asp.net MVC we application and i have the following problem. MY method for signing in using twitter looks like this: [Authorize(Roles = UserRoleNames.EmployeeOrManager)] public virtual async Task
Łukasz Trzewik
  • 1,165
  • 2
  • 11
  • 26
1
vote
1 answer

Twitter Stream API Corrupted Data

I am trying to track some keywords with the LinqToTwitter library. When I look at the buffer, the data format is not correct. For example, the data should look like: {"created_at":"Thu Jul 31 04:21:25 +0000…
Dreamcatcher
  • 798
  • 13
  • 31
1
vote
2 answers

MVC, C# - Linq2Twitter - Post with logged in user

I want to post to Twitter from my MVC site with Linq2Twitter with the logged in Twitter user, but I cannot found simple example or how-to for this. Could you please help me ? Thanks in advance.
Gabor85
  • 107
  • 1
  • 10
1
vote
1 answer

Windows Phone 8.1 HTTP Stream Deadlock

The following code works with Window Phone 8.0, but deadlocks on int nextByte = stream.ReadByte(); in Windows Phone 8.1: /// /// Performs a query on the Twitter Stream. /// /// Request with…
Joe Mayo
  • 7,501
  • 7
  • 41
  • 60
1
vote
1 answer

Twitter API Setting communication preferences for accounts with XAUTH

I wondered if anyone is aware of anyway that I may modify the communication settings of multiple Twitter accounts. Basically I have a number of accounts which all currently receive info at twitter emails etc and I'd like to manage these…
Captain John
  • 1,859
  • 2
  • 16
  • 30
1
vote
0 answers

Linq To Twitter - User search on name fails when the name contains symbols

I'm trying to add a feature to my application that searches a Twitter user's name (not screen name) and returns a list of all users found. It all works fine until I try to search a name with only symbols. I've changed my name on Twitter to "!£$",…
Owen
  • 4,229
  • 5
  • 42
  • 50
1
vote
1 answer

Linq-to-Twitter always error 401 Unauthorized

I am using LinqToTwitter in my C# desktop application. Trying to send tweets and tweets with image to Twitter using OAuth credentials. Initially I am using these required attributes of my own Twitter application: var auth = new…
theGeekster
  • 6,081
  • 12
  • 35
  • 47
1
vote
1 answer

How to get details of other users using screenname in linqtotwitter(version 2.1.11)

I am using following code but it only shows for my account only i want to get details of others using screenname so i can get friendscount of that user (v2.1.11) var twitterCtx = new LinqToTwitter.TwitterContext(auth); var accounts = …
Light
  • 1,077
  • 10
  • 33
1
vote
1 answer

LinqToTwitter BeginAuthorization Not Redirecting

This Twitter Login page (using LinqToTwitter) works as expected until the user has Logged in, then logged out, and then logs in again in the same session. At that point the statement (bottom of code…
Serexx
  • 1,232
  • 1
  • 15
  • 32
1
vote
1 answer

Incorrect DateTime returned using LinqToTwitter?

I'm returning tweets from LinqToTwitter using TwitterContext.Status. however I've noticed that the CreatedAt property value returned for each tweet not the same as if I compare the CreatedAt to the representation displayed on twitter.com for the…
Johnny
  • 398
  • 2
  • 18
1
vote
0 answers

How to add Members in list Linq To Twitter

I am trying to add members in a list using Linq To Twitter API. According to the documentation I can add 100 members per request and can add upto 5000 members. https://dev.twitter.com/docs/api/1.1/post/lists/members/create_all With that, I wrote a…
Ammar Khan
  • 2,565
  • 6
  • 35
  • 60
1
vote
1 answer

How to Get followers Ids who don't make their tweets private

I want to get all followers ids who don't make their tweets private. What modification needs in the query var friends = await twitterCtx.Friendship .Where(f => f.Type == FriendshipType.FollowerIDs &&…
Ammar Khan
  • 346
  • 1
  • 9
  • 27
1
vote
1 answer

Did not get any Response or Error when fetching followers Linq To Twitter

I am trying to fetch the followers using Linq To Twitter latest version 3.0.2..But It is not returning back any response either not throw any error. Please suggest var followers = GetTwitterFollowers (twitterUserId, auth, maxFollowers); …
Ammar Khan
  • 346
  • 1
  • 9
  • 27