How to make Twitter Streaming APIs work with jsOAu

2019-09-06 17:53发布

问题:

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!

回答1:

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.