【问题标题】:Twitter client application with twitter streaming API in PHP使用 PHP 中的 Twitter 流 API 的 Twitter 客户端应用程序
【发布时间】:2015-11-08 00:52:17
【问题描述】:

我想在 Web 应用程序中实现一些 twitter 客户端应用程序的功能,例如更新时间线和搜索用户等。现在我通过搜索发现,无需刷新页面即可实时执行此操作或时间延迟,我需要实现 twitter 的流 API(用户流)。我了解 twitter 的 REST API,但不幸的是,我无法理解流式传输的概念。该文档也没有太大帮助。例如关于保持连接打开并使用实时推文填充页面。我打算用 PHP 来做这件事。谁能告诉我如何去做以及使用什么库?

【问题讨论】:

    标签: php twitter


    【解决方案1】:

    也许你可以试试 phirehose。也支持 Streaming API 和 REST API。在 Wiki 中查看其 Introduction page 以了解 phirehose 如何处理 Streaming API。

    https://github.com/fennb/phirehose

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-02-28
      • 2012-03-23
      • 2014-06-04
      • 1970-01-01
      • 2015-11-17
      • 2015-12-12
      • 2012-06-04
      相关资源
      最近更新 更多