Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'share_count' of undefined #22

Open
Zomis opened this issue Jul 2, 2020 · 0 comments
Open

Cannot read property 'share_count' of undefined #22

Zomis opened this issue Jul 2, 2020 · 0 comments

Comments

@Zomis
Copy link

Zomis commented Jul 2, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant