-
0 votesanswersviews
有谁知道为什么我得到这个asp.net错误? CS1061 linqtotwitter
使用linqtotwitter我试图搜索推文并使用此模型在表格中显示它们: using System; using System.ComponentModel; namespace test.Models { public class TweetSearchModel { [DisplayName("Tweet ID")] p... -
0 votesanswersviews
在Console App中使用LinqToTwitter并获取AggregateException错误
我正在尝试对twitter进行基本的SingleUserAuthorizer调用 . 当我尝试User Linq请求时,我收到此异常 . 有任何想法吗? 抛出异常:mscorlib.dll中的“System.AggregateException” var auth = new SingleUserAuthorizer { CredentialStore = new SingleUser... -
1 votesanswersviews
使用LinqToTwitter时获取错误访问Twitter数据
我正在使用此代码从twitter用户的屏幕名称中获取名称: var users = (from user in twitterCtx.User where user.Type == UserType.Lookup && user.ScreenName == "JoeMayo,LinqToTweeter&quo... -
4 votesanswersviews
错误:无法加载文件或程序集'System.Net.Http.Primitives, Version=1.5.0.0…'
我正在使用Windows Azure Web Jobs来执行我的方法以使用LinqToTwitter获取推文 . 我的web.config文件有 <dependentAssembly> <assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d... -
1 votesanswersviews
如何从多个朋友那里获得推文?
这是我在SO女巫中的第一个问题,我使用了很多btw :) . 这是问题/挑战: 我正在 Build 一个服务,用户可以选择他的一些Facebook和Twitter朋友,然后他将获得推文和状态的组合列表 . Facebook使用批处理请求没有问题非常有用且易于实现 . 我试图从推特获得相同的结果,但这看起来似乎更难 . 我有我所有朋友的名单(name和user_id),我想选择一些朋友并检索他们的... -
0 votesanswersviews
Twitter 1.1,搜索结果的验证和显示
我对即将推出的Twitter API 1.1更改以及如何重新实现以前由jquery小部件(如http://tweet.seaofclouds.com/和http://thomasbillenstein.com/jTweetsAnywhere/)提供的功能感到困惑 . 我已经能够使用ApplicationOnlyAuthorizer进行linq-to-twitter进行搜索,以至少将大部分信息输入到... -
1 votesanswersviews
LinqToTwitter - IsAuthorized始终为ApplicationOnlyAuthorizer返回false
我有一个 MVC4 Web应用程序使用 LinqToTwitter 在访问用户的 Profiles 页面时显示推文,如果他们有Twitter句柄 . 为此,我使用ApplicationOnlyAuthorizer: var auth = new ApplicationOnlyAuthorizer { Credentials = new InMemoryCredentials { ... -
0 votesanswersviews
使用Linq2twitter库的Visual Basic twitter应用程序?
我在Visual Basics中使用Linq2twitter库来构建一个Twitter应用程序,它将监视我的Twitter提要并与我的Arduino(通过COM)进行通信,以便在我发推文时执行某个操作!我是Visual Basics和应用程序编程接口的新手,所以我想从基础知识中学习!经过努力和研究,我创建了一个简单的GUI(有一个按钮和一个richtextbox)写了一些代码,我能够发推!我的第一... -
0 votesanswersviews
无法使用已保存的Oauth凭据将Linq的推文发布到Twitter
如果我的最终用户被定向到Twitter的Oauth页面并返回我们的网站,我使用Linq到Twitter WebAuthorizer将推文发布到Twitter没有任何问题 . 以这种方式使用WebAuthorizer非常有用 . 但是,如果我尝试存储最终用户的Oauth凭据并将其用于Tweet,我会收到401 Unauthorized错误: LinqToTwitter.TwitterQueryEx... -
0 votesanswersviews
WebFormsSearchDemo出错
我正在使用WebFormsSearchDemo项目 . 当我尝试进行搜索时,会出现以下错误: JsonData实例不包含int描述:在执行当前Web请求期间发生未处理的异常 . 请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息 . 异常详细信息:System.InvalidOperationException:JsonData实例不包含int 来源错误: 第27行:选择搜索;第28行:第2... -
0 votesanswersviews
使用LINQ to Twitter访问带有C#的twitter
我试图在VS中创建Winforms应用程序以搜索特定关键字并检索我的应用程序中的推文显示 . 下面是我的代码,试图从我的 Profiles 中获取100条推文并在我的表单构造函数中调用新方法,然后将数据分配给我的表单上的主要推文列表框 using System; using System.Collections.Generic; using System.ComponentModel; using... -
0 votesanswersviews
LinqToTwitter Async无法工作/ 'The name '等待' does not exist in the current context'和其他痛苦
我一直在和Linq一起玩Twitter,经过很多痛苦,终于得到了一些结果 . 这段代码正在运行...... public IList<ITweet> BuildForAuthor(string author) { var result = new List<ITweet>(); context = context != null ?... -
1 votesanswersviews
C#LinqToTwitter - 为大多数推文返回空媒体实体
这是我的第一个问题,所以如果我没有正确地做,我想道歉 . Description 我正在使用Visual Studio for Mac开发一个C#移动应用程序,并且已经安装了LinqToTwitter nuget包(版本4.2.1) . 我需要从帐户中检索所有推文(我已经拥有凭据) . 我使用的代码如下: var auth = new ApplicationOnlyAuthorizer() { ... -
1 votesanswersviews
使用LinqToTwitter难以从twiitter访问数据
我在C#中使用以下代码 var users = (from user in twitterCtx1.User where user.Type == UserType.Lookup && user.UserID == list1 select user) .ToList... -
1 votesanswersviews
Linq To Twitter - 当名称包含符号时,用户搜索名称失败
我正在尝试向我的应用程序添加一个功能,用于搜索Twitter用户的名称(不是屏幕名称),并返回找到的所有用户的列表 . 一切正常,直到我尝试仅使用符号搜索名称 . 我已经在Twitter上将我的名字改为“!£$”,当我尝试搜索它时,我收到一条TwitterQueryException,其中包含“无法验证您”的消息 . 如果我尝试对名称进行URL编码,我会收到一条带有“Missing or inva... -
0 votesanswersviews
获得Twitter对LinqToTwitter的回复
我想用LinqToTwitter api从Tweet中检索回复,但我不能 . 我发现this但它已被删除 . 一些帮助?