dousi4257 2015-11-08 00:52
浏览 89

使用PHP中的Twitter流API的Twitter客户端应用程序

I want to implement some of the twitter's client application's features in a web application, for example updating the timeline and searching for users etc. Now from what i found out by searching is, to do this in real time without refreshing a page or time delay, i would need to implement twitter's streaming API(user stream). I understand the twitter's REST API but unfortunately, i cant get the concept of streaming around my head. The documentation didn't help much either. For example about keeping a connection open and populate the page with real time tweets. I am planning to do this with PHP. Can anyone provide me an insight on how to go around doing it and what library to use?

  • 写回答

1条回答 默认 最新

  • dougou1943 2016-04-10 02:48
    关注

    Maybe you could try phirehose. Supports Streaming API and REST API as well. Check its Introduction page in the Wiki to understand how phirehose handles the Streaming API.

    https://github.com/fennb/phirehose

    评论

报告相同问题?