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

vue-instagram

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-instagram

Fetch Instagram feed components based on Vue.

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
783
increased by105.51%
Maintainers
1
Weekly downloads
 
Created
Source

vue-instagram

npm version npm npm

Fetch Instagram feed components based on Vue.

Installation

$ npm install vue-instagram --save

Usage

Style your feeds using [scoped slot] (https://vuejs.org/v2/guide/components.html#Scoped-Slots)

<template>
  <vue-instagram token="accessTokenHere" username="kevinongko" :count="5">
    <template slot="feeds" scope="props">
      <li class="fancy-list"> {{ props.feed.link }} </li>
    </template>
    <template slot="error" scope="props">
      <div class="fancy-alert"> {{ props.error.error_message }} </div>
    </template>
  </vue-instagram>
</template>

<script>
import VueInstagram from 'vue-numeric'

export default {
  name: 'App',

  components: {
    VueInstagram
  }
}
</script>

Props

  /*
   * Instagram access token.
   */
  token: {
    required: true,
    type: String
  },

  /*
   * Instagram username.
   */
  username: {
    required: true,
    type: String
  },

  /*
   * Numbers of feed.
   */
  count: {
    default: 3
    required: false,
    type: Number
  },

License

Vue-Instagram is open-sourced software licensed under the MIT license

Keywords

FAQs

Package last updated on 20 Jan 2017

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