vue-share-buttons icon indicating copy to clipboard operation
vue-share-buttons copied to clipboard

Cannot read property 'share_count' of undefined

Open Zomis opened this issue 5 years ago • 0 comments

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 />:

  1. https://codesandbox.io/s/88yq86vzk2?fontsize=14&file=/src/main.js

Zomis avatar Jul 02 '20 08:07 Zomis