Giter Site home page Giter Site logo

techulus / social-reviews Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 533 KB

A compact solution for showing social reviews

Home Page: https://reviews.techulus.com

License: MIT License

JavaScript 99.99% CSS 0.01%
twitter instagram testimonials feedback carousel javascript

social-reviews's Introduction

Social Reviews

Social proof your website and Impress your web visitors with Twitter / Instagram testimonials.

Installing

You can quickly install via npm:

npm i social-reviews

or import via html script tag

<script src="https://cdn.rawgit.com/techulus/social-reviews/master/bin/social-reviews.min.js"></script>

Quick Start

Getting up and running is extremely easy. We can create a twitter feedback carousel using the following code:

HTML, Create a container to hold the carousel:

<div id="social-review"></div>

JS, Initialise the review carousel:

new SocialReview({
  selector: '#social-review-1',
  type: 'twitter',
  postIds: ['1044414534792863744', '1044779222844104704', '1045656805882228736', '1047160680741310465', '1044705162441478147']
})

Options & Configuration

  • selector: CSS selector for container
  • type: Social network type, twitter or instagram
  • postIds: Post ids
  • carouselOptions: All options supported by https://glidejs.com/docs/options/

Twitter Configuration

  • conversation: none or all
  • cards: hiddenor visible
  • linkColor: rgb(33, 153, 256), default is blue
  • theme: light or dark

Instagram Configuration

  • height: Height of Instagram post

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.