Facebook social counter displaying 0

Posted in: Newspaper
Post count: 2

I followed all the steps and when I click on get access token, it stays stuck on “please wait”

http://www.androidgamespot.net

Post count: 3

Its an error in /wp-content/plugins/td-social-counter/js/td_social_counter.js

Post count: 3

Just add after line 68 in /wp-content/plugins/td-social-counter/td_social_api.php the following lines

if(true === WP_DEBUG){
$service_data = $this->get_service_data($service_id, $user_id, $access_token);
td_remote_cache::set(__CLASS__, $service_cache_key , $service_data, self::$caching_time);
}

is will allow to refresh social counter cache when WP_DEBUG is true )))

I know its hack, but it works.

Post count: 2

I tried but don’t know how to do it

Post count: 3

It’s requires few more steps.

1. After applying changes in code of the plugin you have to modify you config
2. Make sure you have line define(‘WP_DEBUG’, true); in /wp-config.php
3. Refresh the page in browser – you will see actual number of followers in FB counter
4. Change /wp-config.php as it was before (i.e. define(‘WP_DEBUG’, false); )

Post count: 20688

Hi,

Please try the social counter plugin provided in this topic, and the mentioned suggestions
https://forum.tagdiv.com/topic/facebook-app-just-sits-waiting-for-auth-on-follow-widget/
The issue with the token was fixed and it should work properly.

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.