Title: JS error validating Facebook User Access Token
Last modified: June 7, 2017

---

# JS error validating Facebook User Access Token

 *  Resolved [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/)
 * Hi,
 * when i try to validate the FB acecss token i see this error in Chrome developer
   console.
 * The token does not appear validated and i see no response on admin
 * `
    mashsb-admin.min.js?ver=3.4.2:1 Uncaught TypeError: Cannot read property ‘
   share_count’ of undefined at Object.<anonymous> (mashsb-admin.min.js?ver=3.4.2:
   1) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,
   utils,plupload,jquery-ui-widg…:2) at Object.fireWith [as resolveWith] (load-scripts.
   php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload,jquery-
   ui-widg…:2) at y (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-
   ui-core,utils,plupload,jquery-ui-widg…:4) at XMLHttpRequest.c (load-scripts.php?
   c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,utils,plupload,jquery-ui-
   widg…:4)
 * yhanks
    -  This topic was modified 8 years, 11 months ago by [AndreiD](https://wordpress.org/support/users/andreiro37/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/#post-9205580)
 * This means the access token is not returning the share_count value. This happens
   when the access token is not valid or your site is not whitelisted in the fb 
   app settings. Just remove the access token. It should be working without it.
 *  [sagararora](https://wordpress.org/support/users/sagararora/)
 * (@sagararora)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/#post-9370345)
 * Hi,
 * I am using mash share plugin on my client website and it is free version of it.
   But it is not validating Facebook user access token. For error please check: 
   [https://www.screencast.com/t/FS0SzF8Y2FPj](https://www.screencast.com/t/FS0SzF8Y2FPj)
 * But it is validating the token in the facebook console. [https://developers.facebook.com/tools/debug/accesstoken/](https://developers.facebook.com/tools/debug/accesstoken/)
 * Can you please assist me over this. So that i can get rid from this problem.
 * Your help be very appreciable.
 * Thanks
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/#post-9370489)
 * You need to validate with the following endpoint:
    [https://graph.facebook.com/v2.7/?id=https://www.mashshare.net/&access_token=youraccesstoken](https://graph.facebook.com/v2.7/?id=https://www.mashshare.net/&access_token=youraccesstoken)
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/#post-9370530)
 * We extended our documentation regarding this issue: [http://docs.mashshare.net/article/132-how-to-create-a-facebook-access-token](http://docs.mashshare.net/article/132-how-to-create-a-facebook-access-token)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘JS error validating Facebook User Access Token’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mashsharer_33bbee.svg)
 * [MashShare - Social Media Share Buttons, Social Share Icons](https://wordpress.org/plugins/mashsharer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mashsharer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mashsharer/)
 * [Active Topics](https://wordpress.org/support/plugin/mashsharer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mashsharer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mashsharer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/js-error-validating-facebook-user-access-token/#post-9370530)
 * Status: resolved