Questions tagged [linq-to-twitter]

246 questions
0
votes
1 answer

Making IAuthorizor or TwitterContext Global / Accessible

One more follow up to Extract BearerToken from LinqToTwitter IAuthorizer I am successfully using the Auth / Context / BearerToken with in my application however i wanted to now use the L2T library to Check on Rates. I need TwitterContext to do so,…
0
votes
1 answer

TwitterContext Limitations outside of LinqToTwitter API calls

Follow up to Extract BearerToken from LinqToTwitter IAuthorizer Although I am not using the LTT library for anything past authorization (at this point), I still seem to be limited to 200 tweets when calling directly to the /statuses/user_timeline…
0
votes
1 answer

How to unit test session MVC

How do I make a unit test for my Index ActionResult to test the view result? public ActionResult Index() { if (!new SessionStateCredentialStore().HasAllCredentials()) return RedirectToAction("Index", "OAuth"); return…
0
votes
2 answers

Does anyone know why I'm getting this asp.net error? CS1061 linqtotwitter

Using linqtotwitter I was trying to search for tweets and display them in a table using this model: using System; using System.ComponentModel; namespace test.Models { public class TweetSearchModel { [DisplayName("Tweet ID")] …
0
votes
1 answer

Xamarin.Forms LinqToTwitter Authorization fail

I have tested the following code for authorization in normal C# console application and everything works well: var Authorizor = new SingleUserAuthorizer() { CredentialStore = new SingleUserInMemoryCredentialStore …
Everyone
  • 1,751
  • 13
  • 36
0
votes
1 answer

LinqToTwitter in VB.net errors BC30652 and BC36593

I'm trying to use the LinqToTwitter package, in vb .net, to capture tweets, using the streaming option to capture them in real time. I am getting two errors, which I have tried to correct in several ways, making several imports, but I did not…
DaniloPF
  • 67
  • 7
0
votes
1 answer

Using linqToTwitter in vb.net

I'm trying to add the ability to post tweets from one of my apps. I'm using the LinqToTwitter library and have read all the examples i can seem to find, but cannot get it working. Can someone point me in the right direction? Heres my code... Imports…
John
  • 755
  • 1
  • 18
  • 46
0
votes
1 answer

How to Raise new event on twitter so that clients can receive notification of the event?

I am retrieving tweets using LINQ to Twitter 4.1.0 searching for a particular hashtag eg.#abc. Now want to be notified whenever anyone tweets in my account using that same hashtag eg.#abc. Can anyone suggest me, how to do this?
Ranjana
  • 85
  • 9
0
votes
2 answers

Twitter API removes characters to add link to original tweet

I'm am using LinqToTwitter in my application to gather tweets. For testing I now retrieve some public tweets and noticed text of tweets go missing: Example: Tweet in my application: Original tweet: Notice t.co/czD2e7Z3q1 in my application…
Maiko Kingma
  • 929
  • 3
  • 14
  • 29
0
votes
1 answer

Historical search using Twitter API

If I do the following search through Twitter - search term: "from:jack just setting up my twttr" URL: https://twitter.com/search?q=from%3Ajack%20just%20setting%20up%20my%20twttr&src=typd I am able to view the first Tweet ever on Twitter. I am…
Ebikeneser
  • 2,582
  • 13
  • 57
  • 111
0
votes
1 answer

How To get User's email by user's screen name in linqToTwitter?

I want to get user's email by user's screen name in linqToTwitter, I use this Code: var auth = new SingleUserAuthorizer { CredentialStore = new SingleUserInMemoryCredentialStore { ConsumerKey = "", …
asmaa ali
  • 23
  • 5
0
votes
1 answer

C# - LINQ to Twitter - Read twitter landing page without login

I just started making a application that uses information from twitter. I want to get the posts that are available on the Twitter landing page when no user is logged in. This page shows public posts that might be relevant to your geo location. Is it…
Maiko Kingma
  • 929
  • 3
  • 14
  • 29
0
votes
1 answer

LinqToTwitter Async not working / 'The name 'await' does not exist in the current context' and other pains

I have been playing with Linq to twitter and, after much pain, have finally got some results coming back. This code is working... public IList BuildForAuthor(string author) { var result = new List(); context…
Keith Jackson
  • 3,078
  • 4
  • 38
  • 66
0
votes
4 answers

authorization error using linqtotwitter for streaming api

i'm trying to get a stream of tweets using LinqToTwitter library and the below c# code, but i get this error: Error 401 Unauthorized public static SingleUserAuthorizer auth; static void Main(string[] args) { Task task = new…
Hasan Mhd Amin
  • 220
  • 2
  • 11
0
votes
1 answer

LinqToTwitter doesn't work in PCL in Xamarin.Forms for UWP

I know that LinqToTwitter supports UWP and it support Xamarin.Forms, but using the UniversalAuthoriser (which supports UWP) namespace is not available when called from within the PCL in my Xamarin.Forms project. It works if I place the code in the…