vue-share-buttons
vue-share-buttons copied to clipboard
Cannot read property 'share_count' of undefined
Expected Behavior
All the examples should work without errors
Actual Behavior
Some of the examples does not work and return the error below:
TypeError
Cannot read property 'share_count' of undefined
window.<computed>
https://88yq86vzk2.csb.app/node_modules/vue-share-buttons/src/components/FacebookButton.vue?3fb6e918:77:36
(anonymous function)
https://graph.facebook.com/?id=https%3A%2F%2F88yq86vzk2.csb.app%2F&callback=Facebook_172:1:6
Steps to Reproduce the Problem
From one of the examples at https://www.npmjs.com/package/vue-share-buttons , the one with <facebook-button class="share-button--outline" hasCounter />:
- https://codesandbox.io/s/88yq86vzk2?fontsize=14&file=/src/main.js