Version Description
- Done the bug fixings for the facebook followers counter.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
- accesspress-social-counter.php +6 -4
- readme.txt +4 -1
accesspress-social-counter.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: AccessPress Social Counter
|
4 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
5 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: AccessPress Themes
|
8 |
* Author URI: http://accesspressthemes.com
|
9 |
* Text Domain: aps-counter
|
@@ -24,7 +24,7 @@ if (!defined('SC_CSS_DIR')) {
|
|
24 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('SC_VERSION')) {
|
27 |
-
define('SC_VERSION', '1.7.
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
@@ -419,10 +419,12 @@ if (!class_exists('SC_Class')) {
|
|
419 |
* */
|
420 |
function new_fb_count(){
|
421 |
$apsc_settings = $this->apsc_settings;
|
422 |
-
|
|
|
|
|
423 |
$api_url = 'https://graph.facebook.com/v2.6/';
|
424 |
$url = sprintf(
|
425 |
-
'%s%s?fields=fan_count
|
426 |
$api_url,
|
427 |
$apsc_settings['social_profile']['facebook']['page_id'] ,
|
428 |
$access_token
|
3 |
* Plugin Name: AccessPress Social Counter
|
4 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
5 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
6 |
+
* Version: 1.7.1
|
7 |
* Author: AccessPress Themes
|
8 |
* Author URI: http://accesspressthemes.com
|
9 |
* Text Domain: aps-counter
|
24 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('SC_VERSION')) {
|
27 |
+
define('SC_VERSION', '1.7.1');
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
419 |
* */
|
420 |
function new_fb_count(){
|
421 |
$apsc_settings = $this->apsc_settings;
|
422 |
+
$access_token = $this->get_fb_access_token();
|
423 |
+
$access_token = json_decode($access_token);
|
424 |
+
$access_token = $access_token->access_token;
|
425 |
$api_url = 'https://graph.facebook.com/v2.6/';
|
426 |
$url = sprintf(
|
427 |
+
'%s%s?fields=fan_count&access_token=%s',
|
428 |
$api_url,
|
429 |
$apsc_settings['social_profile']['facebook']['page_id'] ,
|
430 |
$access_token
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: social count, social counter, social counters, social media counters, soci
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -135,6 +135,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
135 |
5. Backend Cache Settings Section
|
136 |
|
137 |
== Changelog ==
|
|
|
|
|
|
|
138 |
= 1.7.0 =
|
139 |
* Updated google Plus setup description
|
140 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.7.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
135 |
5. Backend Cache Settings Section
|
136 |
|
137 |
== Changelog ==
|
138 |
+
= 1.7.1 =
|
139 |
+
* Done the bug fixings for the facebook followers counter.
|
140 |
+
|
141 |
= 1.7.0 =
|
142 |
* Updated google Plus setup description
|
143 |
|