Phirehose 设置问题
尝试使用 https://github.com/fennb/phirehose
将所有内容上传到后, 服务器,当我尝试运行 example.php 时,出现以下错误。我尝试手动运行代码,但无法深入了解这一点。任何帮助将不胜感激...
Phirehose:连接到 Twitter 流: http://stream .twitter.com/1/statuses/sample.json 参数: array ( 'delimited' => 'length',) Phirehose:将主机stream.twitter.com解析为199.59.148.138 Phirehose:连接到 199.59.148.138 Phirehose:与 199.59.148.138 建立连接 Phirehose:连接到流的 HTTP 失败 1 of 20:HTTP 错误:()。睡10秒。
Trying to use the Phirehose class from https://github.com/fennb/phirehose
After uploading everything to the server, when i try to run sample.php i get the following errors. I've tried to manually run through the code but can't get to the bottom of this one. Any help would be greatly appreciated...
Phirehose: Connecting to twitter stream: http://stream.twitter.com/1/statuses/sample.json with params: array ( 'delimited' => 'length',)
Phirehose: Resolved host stream.twitter.com to 199.59.148.138
Phirehose: Connecting to 199.59.148.138
Phirehose: Connection established to 199.59.148.138
Phirehose: HTTP failure 1 of 20 connecting to stream: HTTP ERROR : (). Sleeping for 10 seconds.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,该脚本有多个不同版本。 github 下载部分中可用于 phirehose 的 .zip 版本与复制最新版本的脚本不同。
该脚本的最新版本似乎运行良好。
So, there are multiple different versions of the script. The .zip availble for phirehose in githubs download section is a different version than just copying down the most recent version of the script.
Most recent version of the script appears to work perfectly.