Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tweet-fetcher

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tweet-fetcher

get your tweets from twitter without a api key

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 18 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc