Social proof your website and Impress your web visitors with Twitter / Instagram testimonials.
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>
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']
})
selector
: CSS selector for containertype
: Social network type,twitter
orinstagram
postIds
: Post idscarouselOptions
: All options supported by https://glidejs.com/docs/options/
conversation
:none
orall
cards
:hidden
orvisible
linkColor
:rgb(33, 153, 256)
, default is bluetheme
:light
ordark
height
: Height of Instagram post