Questions tagged [linq-to-twitter]

246 questions
1
vote
1 answer

windows form application list to ADO.NET datatable

This is my first question, please ignore my mistakes. I am running a C# project which passes requirements of twitter feed, 5 attributes in a string named "urlAll". I am going to split the properties with *#06# which I declared before which is given…
1
vote
1 answer

LINQ2Twitter callback working on localhost but not Azure

I use the OAuthController from ASP.NET Core sample for Linq2Twitter. I have also configured session in Startup.cs Everything works fine on localhost but if I publish to Azure the callback link doesn't work and gives Invalid Token error. So the user…
Techy
  • 2,026
  • 4
  • 20
  • 41
1
vote
1 answer

Get Tweets by LinqToTwitter

I'm trying to get tweets from Twitter but it's not working with me, here is the code: var auth = new SingleUserAuthorizer { CredentialStore = new SingleUserInMemoryCredentialStore() { …
Ateeq
  • 797
  • 2
  • 9
  • 27
1
vote
0 answers

Redirect to Twitter auth after an angularjs Post

The web client uses $http.post to communicate with my server to initiate the Twitter authorization. In my asp.net mvc app, I use this LinqToTwitter code: var auth = new MvcSignInAuthorizer { CredentialStore = new SessionStateCredentialStore …
Nicolas Cadilhac
  • 4,680
  • 5
  • 41
  • 62
1
vote
3 answers

How to limit tweets to only specific Location

I'm trying to search twitter by a specific location. I've managed to get it to exclude any tweets geotagged outside of my radius, but I'm also getting a vast majority of tweets with the geodata set to null. var Twitter = new…
Sidney
  • 624
  • 7
  • 20
1
vote
1 answer

Uploading media via LinqToTwitter hangs in WebForms, works fine in ConsoleApp

I have a problem with uploading videos using LinqToTwitter. I have a sample code, which works fine when it's called in a Console application, but hangs when it's used in a WebForms project. private static ulong UploadMedia() { const string path…
Peter Szekeli
  • 2,712
  • 3
  • 30
  • 44
1
vote
1 answer

InvalidCastException in Xamarin iOS

I'm receiving an InvalidCastException when running my code in Xamarin iOS. This doesn't happen for .NET or Android - only for iOS. Here's the exception details: at Microsoft.Scripting.Interpreter.EqualInstruction+EqualInt64.DoCalculate …
Joe Mayo
  • 7,501
  • 7
  • 41
  • 60
1
vote
1 answer

How to do a twitter search using linq to twitter v.4 in c#

I would like to do a search using linq to twitter v.4. the query that I have managed to accomplish so far gets the user tweets. Is there a way to search the same way as you would in the twitter search box? e.g. when I type music in the search box…
Dev
  • 1,780
  • 3
  • 18
  • 46
1
vote
1 answer

c# LinqToTwitter Retweet with Comment

I am using LinqToTwitter and would like to recreate the Twitter Retweet functionality. I am able to retweet something with this line: var retweet = await Connection.RetweetAsync(tweetID); But Twitter also offers the possibilty to add a comment…
Ulpin
  • 179
  • 1
  • 14
1
vote
1 answer

LinqToTwitter get Retweet status

I am using the LinqToTwitter API and have the following problem. How can I get the information if I (the current user) have already retweeted a tweet though I can change the IsChecked Property on the ToggleButton for Retweet. I've already tried to…
Ulpin
  • 179
  • 1
  • 14
1
vote
0 answers

LinqToTwitter PCL 259 Installation Issue

I am trying to add LinqToTwitter to a portable class library project (Profile 259), and it is complaining that the package does not contain any assembly references or content files that are compatible with that framework. For more information,…
Johnny
  • 398
  • 2
  • 18
1
vote
1 answer

Linq2Twitter MediaEntity: How to access more than one ImageURL

why is it that the linq2Twitter API only stores one image as a MediaURL in the Entity class even there are surly two images in a particular tweet? This is the tweet "https://t.co/VoxCtVl2k1" that I am debbugung in the screenshot. It has two pictures…
Ulpin
  • 179
  • 1
  • 14
1
vote
1 answer

XAML Binding String or String[] to

this is a part of my XAML and it works to display one picture "ContentImages":
Ulpin
  • 179
  • 1
  • 14
1
vote
1 answer

After logging in to the Twitter API using OAuth via Linq to Twitter, how do I get the UserID or ScreenName of the logged in user?

Both twitterContext.Authorizer.CredentialStore.UserID and twitterContext.Authorizer.CredentialStore.ScreenName are null after successful authorisation. Querying the API for the User object requires a UserID or ScreenName.
user310988
1
vote
1 answer

Linq2twitter asp.net c# not working

Hey guys i followed the tutorial here for a school project, https://www.dougv.com/2015/08/posting-status-updates-to-twitter-via-linqtotwitter-part-2-plain-text-tweets/ But when i run it with google chrome nothing is showing up and it just stuck in…
Kent Ong
  • 97
  • 1
  • 7