【问题标题】:tweetsharp search推特搜索
【发布时间】:2013-11-12 12:06:44
【问题描述】:

我正在使用 tweetsharp 搜索公共帖子。 我正在使用以下代码进行搜索:

TwitterSearchResult tsr = Service.Search(new SearchOptions() { Q = keyword, Resulttype = TwitterSearchResultType.Mixed, IncludeEntities=false});

这是我的问题,为什么我从 api 获得的结果与 twitter 网站上的结果不同。 例如,如果我使用“redbull”作为关键字,我会从 Twitter 网站获得完全不同的推文,就像我从 tweetsharp 收到的一样。

亲切的问候 手动

【问题讨论】:

    标签: c# twitter tweetsharp


    【解决方案1】:

    var results = Servis.Search(new SearchOptions { Q ="cnn", Count =30 , Resulttype = TwitterSearchResultType.Mixed, IncludeEntities = false });

    【讨论】:

      【解决方案2】:

      基本上,twitter 可以通过 3 种方式在搜索中返回内容: 最近(包含搜索词的最新帖子) 热门(包含搜索词的最热门帖子) 混合(最多样化的结果)

      尝试使用这段代码:

      TwitterSearchResult tsr = Service.Search(new SearchOptions() { Q = keyword, Resulttype = TwitterSearchResultType.Recent});
      

      【讨论】:

        猜你喜欢
        • 2010-11-18
        • 1970-01-01
        • 1970-01-01
        • 2011-07-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多