简体   繁体   English

如何使用node.js获取推文

[英]How to get tweets using node.js

is there a way of getting twitter tweets on your own site using node.js. 有没有办法使用node.js在您自己的网站上获取Twitter推文。 I tried some node.js modules but did not get how to achieve this. 我尝试了一些node.js模块,但没有得到如何实现这一点。

Depending on what you're trying to do, you may not even need to use node to do this. 根据您尝试执行的操作,您甚至可能不需要使用节点来执行此操作。 Twitter has a number of client-side widgets you can use to host your profile, tweets from a search, your favorites, or a list: https://twitter.com/about/resources/widgets Twitter有许多客户端小部件,可用于托管您的个人资料,搜索推文,收藏夹或列表: https//twitter.com/about/resources/widgets

Now, if you want to begin manipulating those tweets or display them in a custom fashion, then you'll want to use the nTwitter module as First Zero suggested. 现在,如果您想开始操作这些推文或以自定义方式显示它们,那么您将需要使用nTwitter模块作为First Zero建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM