New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pubnub-twitter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pubnub-twitter

Live Twitter Firehose Stream

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

PubNub Twitter Firehose Live Stream

Live tweets in realtime, easy.

NPM Install
npm install pubnub-twitter

Wohh this stream is super fast with lots of tweets; a lot of tweets. You'll be able to see a lot of tweets from all over the world at super light speed.

You can see a live feed preview on PubNub Dev Console.

Now to the copy/paste sections for your ease of use.

Example Node JS
var stream = require('pubnub-twitter');
stream(function(tweet){
    console.log( "Tweet: ", JSON.stringify(tweet) );
});

NPM pubnub-twitter

You can find the NPM package details on npm.org

PubNub Twitter Firehose Live Stream

Web Browser Twitter Firehose

You can receive tweets in a streaming firehose directly in your web browser.

<script src="https://cdn.pubnub.com/pubnub.min.js"></script>
<script>
PUBNUB({
    subscribe_key: 'sub-c-78806dd4-42a6-11e4-aed8-02ee2ddab7fe'
}).subscribe({
    channel : 'pubnub-twitter',
    message : function(tweet) {

        // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        // Receive Tweets in your Browser!
        // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        console.log(tweet);

    }
});
</script>

Keywords

FAQs

Package last updated on 23 Sep 2014

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