GithubHelp home page GithubHelp logo

mozaik-ext-twitter's Introduction

Mozaïk twitter widgets

Travis CI

Twitter Client Configuration

In order to use the Mozaïk twitter widgets, you must configure its client.

parameters

key description
consumerKey twitter consumer key
consumerSecret twitter consumer secret
accessTokenKey twitter access token key
accessTokenSecret twitter access token secret

usage

{
  //…
  api: {
    twitter: {
      consumerKey:       'xxxxx',
      consumerSecret:    'xxxxx',
      accessTokenKey:    'xxxxx',
      accessTokenSecret: 'xxxxx'
    }
  }
}

Twitter hashtags pie

twitter hashtags pie

Display a pie chart showing stats for a given list of hashtags

parameters

key required description
layout no layout (legends placement), can be top right bottom left, default is right
hashtags yes a list of hashtags with an associated color

usage

{
    type:     'twitter.hashtags_pie',
    layout:   'right',
    hashtags: [
        { color: '#6bc2c8', text: 'apple'      },
        { color: '#5f8cc0', text: 'google'     },
        { color: '#525487', text: 'twitter'    },
        { color: '#376aa2', text: 'facebook'   },
        { color: '#383b72', text: 'instagram'  }
    ],
    columns: 2, rows: 1, x: 0, y: 0
}

mozaik-ext-twitter's People

Contributors

plouc avatar linell avatar

Watchers

James Cloos avatar Laurent Brunet 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.