Questions tagged [linq-to-twitter]

246 questions
1
vote
1 answer

LinqToTwitter Search Never Returns

I am attempting to use LinqToTwitter to search twitter. It works fine as run in an NUnit test but it does not work with ASP.NET or as a WinForm app. I am not sure what Authorizer to use. public async Task SearchTwitter(string…
Greg Finzer
  • 6,714
  • 21
  • 80
  • 125
1
vote
1 answer

Linq to Twitter - Bad Authentication data

I've the the latest version of Linq to Twitter (3.1.2), and I'm receiving the "Bad Authentication data" error with the code below: var auth = new ApplicationOnlyAuthorizer { CredentialStore = new InMemoryCredentialStore …
Keith
  • 5,311
  • 3
  • 34
  • 50
1
vote
1 answer

LinqToTwitter query tweets by user ID

I want to query tweets by user ID. I implemented the code to query tweets by username with using from operator in the query: if (!string.IsNullOrWhiteSpace(twitterUsername)) { var searchResponse = (from srch in twitterContext.Search where …
carpics
  • 2,272
  • 4
  • 28
  • 56
1
vote
0 answers

LinqToTwitter - How to dispose of observable stream correctly taking concurrency into account

I created an observable collection IObservable with LinqToTwitter as shown below. The problem is that this implementation has a concurrency issue when I dispose of the first observable and subscribe to a new observable. How can I dispose of…
leifbattermann
  • 622
  • 7
  • 12
1
vote
1 answer

Exception when using await on async function

I'm trying to use LinqToTwitter to post newsarticles to Twitter from an ASP.NET CMS. I've created a static class that will handle it for me as the outcome will be logged anyway and won't affect the rest of the website. However, when I try to run it…
thelwynn
  • 28
  • 4
1
vote
1 answer

Linq2Twitter Get media entities System.Collections.Generic.List C#

Hi all here comes a noob question, i am trying around with twitter library "linq2twitter" in C#. I would like to get the content from : System.Collections.Generic.List <.LinqToTwitter.MediaEntity.> My attempt is simple: public string[]…
fid200
  • 47
  • 3
1
vote
1 answer

How should I authorize twitter on a clients website?

I am using Linq-to-twitter on a website I am working on at the moment. All I want to do is grab my clients latest tweets and list them on the site. I have created an app in my own twitter account for the client. I cannot work out if I should use…
Guerrilla
  • 13,375
  • 31
  • 109
  • 210
1
vote
1 answer

Linq2Twitter Authentication Issue

I am quite new to Linq2Twitter. There aren't much samples either. I took an existing app made using Linq2Twitter and using it's code verbatim (except the keys in configuration obviously). Whenever it reaches AuthorizeAsync(), it fails: var auth =…
Failed Scientist
  • 1,977
  • 3
  • 29
  • 48
1
vote
2 answers

Response of "Faulted" when sending a tweet using linqtotwitter

I am trying to send a simple status update (tweet) using linq to twitter. I can connect ok but when I send a tweet I get a return status of "faulted" using the following code. public async Task Tweet(string text) { var auth = GetCredentials(); …
Three Value Logic
  • 1,102
  • 1
  • 15
  • 37
1
vote
1 answer

linqToTwitter UserID always zero

I need to construct the URL to the original tweet as http://twitter.com/{twitter-user-id}/status/{tweet-staus-id} Joe's code on linq2twitter works fine, but when I replace User.ScreenNameResponse from his sample with User.UserID, the UserID is…
RickAndMSFT
  • 20,912
  • 8
  • 60
  • 78
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

Error when searching for users on Windows Phone 8.1 using linqtotwitter

I'm developing a Windows Phone 8.1 app and when I try to search for users using linqtotwitter, I get this error: "The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E…
Alessandro S.
  • 93
  • 2
  • 7
1
vote
1 answer

how to work with pagination using since_id and max_id in linqtotwitter v2.1?

I had used linqtotwitter for fetching tweets from twitter. However i can pull tweets from only one shot at a time if i try to pull tweets using sinceid and maxid it returning empty and i'm also executing with range dates in query. with the below…
Light
  • 1,077
  • 10
  • 33
1
vote
1 answer

Linq2Twitter MVC authorization returning null values

I am using Linq2Twitter in my application (MVC5) to connect to twitter. After authorizing I am getting null values for OAuthTokenSecret, ScreenName and 0 for UserID. I am not able to tweet since I am not having OAuthTokenSecret. I am using below…
1
vote
1 answer

Required oauth_verifier parameter not provided asp.net c#

i am facing this error, right now in oauthusing linq to twitter library: Required oauth_verifier parameter not provided /oauth/access_token i have…
Sanjay Bathre
  • 451
  • 1
  • 5
  • 17