<template>
    <div class="fb-comments" data-href="https://songxy.com/mastering" data-numposts="5" data-colorscheme="light" data-width="280px"></div>
</template>

<script>
export default {
  name: 'FacebookComments',
  mounted(){
    this.init()    
  },
  methods: {
    init () {
        if (window.FB) {
            window.FB.init({
                appId      : 'xxxxxxxxxxxxxxx',
                status     : true,
                xfbml      : true,
                version    : 'v3.3'
            })
        }
    }
  }
}
</script>
