Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moszeed/tweet-fetcher
get your tweets from twitter without a api key
https://github.com/moszeed/tweet-fetcher
Last synced: about 20 hours ago
JSON representation
get your tweets from twitter without a api key
- Host: GitHub
- URL: https://github.com/moszeed/tweet-fetcher
- Owner: moszeed
- License: mit
- Created: 2016-04-22T11:27:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-18T11:10:28.000Z (over 6 years ago)
- Last Synced: 2024-11-06T14:46:18.370Z (9 days ago)
- Language: JavaScript
- Size: 101 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tweet-fetcher
Get your Tweets from Twitter, in Node and Browser (with Browserify),
without using the Twitter 1.1 API.
Based on, the awesome work of Jason Mayes "twitter-post-fetcher" Module https://github.com/jasonmayes/Twitter-Post-Fetcher## Why this Module
I simply needed a module with **Promise** Support for **Nodejs** and the **Browser**.## How to use ?
1. Create a Widget: https://twitter.com/settings/widgets
2. Copy the Widget-ID
3. Add this to your Code:```
(function () {
"use strict";// require the module
const tweetFetcher = require('tweet-fetcher');// configure
const config = {
"id" : "720905681944080384", // the widget id
"language": "en" // the widget language
};// fetch the data
tweetFetcher(config)
.then(function(tweets) {
console.log('do something with the ', tweets);
})
.catch(function(err) {
console.log(err);
});
})();
```##### Support
[Buy me a Coffee](https://www.patreon.com/moszeed)