开发者

How do I setup Twitter OAuth on Node.js?

开发者 https://www.devze.com 2023-04-02 08:59 出处:网络
I am trying to authenticate to Twitter using the access token and secret from my account, and I don\'t know how to do what I thought I was doing. I am using node-oauth, but I am open to other solution

I am trying to authenticate to Twitter using the access token and secret from my account, and I don't know how to do what I thought I was doing. I am using node-oauth, but I am open to other solutions.

PS: This is an app w/o a frontend. It is pretty much a twitter bot (don't worry, not a spamm开发者_如何学编程er). What I need to be able to do is access the Streaming API, which I need to POST after authenticating. IDK how to use basic auth, but if that would be easier, let me know.


try looking at this code

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号