Plugin Directory

Changeset 1636956


Ignore:
Timestamp:
04/13/2017 03:13:46 PM (9 years ago)
Author:
siliconthemes
Message:

Vesrion 1.1.2

Location:
silicon-counters/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • silicon-counters/trunk/framework/counters/facebook-counter.php

    r1536122 r1636956  
    4343            return '';
    4444        } else {
    45             return sanitize_text_field( $access_token['body'] );
     45            return sanitize_text_field( json_decode( $access_token['body'], true )['access_token'] );
    4646        }
    4747    }
     
    5454            $access_token = $this->get_access_token( $settings );
    5555            $url = sprintf(
    56                 '%s%s?fields=fan_count&%s',
    57                 $this->api_url . '/v2.7/',
     56                '%s%s?fields=fan_count&access_token=%s',
     57                $this->api_url.'/v2.7/',
    5858                sanitize_text_field( $settings['facebook_id'] ),
    5959                $access_token
     
    8585     */
    8686    public function get_view( $settings, $total, $text_color ) {
    87         $facebook_id = ! empty( $settings['facebook_id'] ) ? $settings['facebook_id'] : '';
     87        $facebook_id = ! empty( $settings['facebook_id'] ) ? $settings['facebook_id'] : '';
    8888        $icon = ! empty( $settings['facebook_icon'] ) ? $settings['facebook_icon'] : 'fa-facebook-official';
    8989        $icon_color = ! empty( $settings['facebook_icon-color'] ) ? $settings['facebook_icon-color'] : '#fff';
  • silicon-counters/trunk/readme.txt

    r1597222 r1636956  
    11=== Social Media Counters / SILICON COUNTERS ===
    22Contributors: siliconthemes
    3 Version: 1.1.1
     3Version: 1.1.2
    44Donate link: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/
    55Plugin URI: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/
     
    77Tags: Social Count, social counter, social counters, social icon counter, social icons, social media, social media counters, social counters, counter, facebook, github, googleplus, instagram, facebook fans, twitter followers, youtube subscribers, php, pinterest, shortcode, soundcloud, fteam, tumblr, twitch, twitter, vimeo, widget, youtube, fans, followers, subscribers, share, sharing,  social count, social icon, social sharing, button, facebook button, facebook share, share button, social share button, tweet button, wordpress
    88Requires at least: 3.0.1
    9 Tested up to: 4.7
     9Tested up to: 4.7.3
    1010Stable tag: 4.7
    1111License: GPLv2 or later
     
    7272== Changelog ==
    7373
     74= 1.1.2 =
     7513 April 2017
     76Hot Fix For Facebook Counter.
     77
    7478= 1.1.1 =
    757916 February 2017
  • silicon-counters/trunk/silicon-counters.php

    r1597222 r1636956  
    66 * Description: Simple yet powerful tool to show social networks statistic. It supports: Facebook, Twitter, Google Plus, Instagram, Twitch, YouTube, Pinterest, Vimeo, GitHub, SoundCloud, Steam and also standard WordPress numbers like a comments, users and posts.
    77 * Author: Silicon Themes
    8  * Version: 1.1.1
     8 * Version: 1.1.2
    99 * License: GPLv2 or later
    1010 * Text Domain: silicon-counters
Note: See TracChangeset for help on using the changeset viewer.