KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
TwitterBot
★ 9
Open GitHub ↗
Simple Twitter Bot
Download README (.md)
Explore Similar Repositories
MIAPPE-ontology
:
Modelling of MIAPPE
NSFW_Detection
:
To check if the input video contains Nudity or any other NSFW content and label them.
XCGuideMaskView
:
自定义的新手引导视图,使用方便
esanpy
:
Python Text Analyzer based on Elasticsearch
cordova-plugin-apkInstaller
:
Cordova Apk Installer Plugin.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
TwitterBot
?
Download (.md)
# Twitter Bot Simple Twitter Bot # Installing Clone repository In projects folder run bottom command . ```shell npm install ``` # Configuration You need to change [Config.js](config.js) bottom parameter from Twitter for OAuth ```javascript module.exports = { consumer_key: '...', consumer_secret: '...', access_token: '...', access_token_secret: '..', timeout_ms: 60*1000, // optional HTTP request timeout to apply to all requests. } ``` For this keys go [Twitter Application Management](https://apps.twitter.com/) Login with your Twitter account and create app After creating app click 'Keys and Access Tokens' section and get tokens   # Sample Usage ```javascript var params = { q : 'Fenerbahçe', count : 2 } T.get('search/tweets', params ,gotData); function gotData(err,data,response){ var tweets = data.statuses; tweets.forEach(function(element) { console.log(element.text); }, this); } ``` ##### This code searches and get last 2 tweets contains 'Fenerbahçe' keyword. ##### count parameter is specify how many tweets get from Twitter 