Coder Social home page Coder Social logo

adagebrands-meerkat-periscope's Introduction

Are brands using Meerkat or Periscope?

I wanted to see which of the top 100 Ad Age brands have tweeted Meerkat or Periscope links to get a sense of adoption among major marketers.

So I drafted a list of those brands' Twitter handles and put them in a text file called AdAge_BiggestBrands.txt. The handles in that file can be swapped out for any Twitter handles(TV networks, publishers, celebrities, whoever).

Two Ruby scripts can then be run that will grab the most recent 200 tweets for each Twitter handle in that list. One script will check to see if any of those tweets contain links to Meerkat; the other will check for Periscope links. Any tweets containing Meerkat or Periscope links are then pasted into two respective text documents.

Two more Ruby scripts can be run that will use the IDs for each tweet to grab the embed codes from Twitter. Those embed codes can then be copy-and-pasted into an article, blog post, etc.

I wrote the Periscope and Meerkat scripts as separate files. They could also be combined so that each tweet is checked for Meerkat or Periscope links within the same program and so that embed codes for both Meerkat- and Periscope-carrying tweets can be grabbed by running one program. I didn't do that originally because I wanted separate scripts to make it easier when I only want to check for Meerkat or Periscope tweets, not both.

Aside from having to register an app with Twitter to get your own consumer keys and access tokens -- and creating the text files for the tweet IDs and embed codes to be pasted to -- the program should be pretty plug-and-play.

adagebrands-meerkat-periscope's People

Contributors

tpeterson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.