如何使 Twitter Streaming API 与 jsOAuth 一起使用? [英] How to make Twitter Streaming APIs work with jsOAuth?

查看:42
本文介绍了如何使 Twitter Streaming API 与 jsOAuth 一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如在我之前的问题的回答中所指出的:Twitter API:更新有效,但过滤器无效

... filter API 是一个流 API:https://dev.twitter.com/docs/streaming-apis

我想让 jsOAuth 与这些流 API 一起工作:https://github.com/bytespider/jsOAuth

它与 REST API 一起工作得很好,如果有人已经(或知道如何制作)它与流 API 一起工作,请赐教!

谢谢!

解决方案

jsOauth 目前支持流 API,正如其作者所证实的:

https://github.com/bytespider/jsOAuth/issues/29#issuecomment-6841882

看来我必须在下一个版本之前找到替代方案.

As has been noted in the answer to my prior question: Twitter APIs : update working, but filter does not

.. the filter API is a streaming API: https://dev.twitter.com/docs/streaming-apis

I would like to make jsOAuth work with these streaming APIs: https://github.com/bytespider/jsOAuth

It works well with the REST APIs, and if anyone has made (or knows how to make) it work with the streaming APIs, please enlighten me!

Thanks!

解决方案

jsOauth does not currently support streaming API, as confirmed by its own author:

https://github.com/bytespider/jsOAuth/issues/29#issuecomment-6841882

Looks like I will have to find an alternative till the next release.

这篇关于如何使 Twitter Streaming API 与 jsOAuth 一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆