Changeset 1636956
- Timestamp:
- 04/13/2017 03:13:46 PM (9 years ago)
- Location:
- silicon-counters/trunk
- Files:
-
- 3 edited
-
framework/counters/facebook-counter.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
silicon-counters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
silicon-counters/trunk/framework/counters/facebook-counter.php
r1536122 r1636956 43 43 return ''; 44 44 } else { 45 return sanitize_text_field( $access_token['body'] );45 return sanitize_text_field( json_decode( $access_token['body'], true )['access_token'] ); 46 46 } 47 47 } … … 54 54 $access_token = $this->get_access_token( $settings ); 55 55 $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/', 58 58 sanitize_text_field( $settings['facebook_id'] ), 59 59 $access_token … … 85 85 */ 86 86 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'] : ''; 88 88 $icon = ! empty( $settings['facebook_icon'] ) ? $settings['facebook_icon'] : 'fa-facebook-official'; 89 89 $icon_color = ! empty( $settings['facebook_icon-color'] ) ? $settings['facebook_icon-color'] : '#fff'; -
silicon-counters/trunk/readme.txt
r1597222 r1636956 1 1 === Social Media Counters / SILICON COUNTERS === 2 2 Contributors: siliconthemes 3 Version: 1.1. 13 Version: 1.1.2 4 4 Donate link: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/ 5 5 Plugin URI: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/ … … 7 7 Tags: 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 8 8 Requires at least: 3.0.1 9 Tested up to: 4.7 9 Tested up to: 4.7.3 10 10 Stable tag: 4.7 11 11 License: GPLv2 or later … … 72 72 == Changelog == 73 73 74 = 1.1.2 = 75 13 April 2017 76 Hot Fix For Facebook Counter. 77 74 78 = 1.1.1 = 75 79 16 February 2017 -
silicon-counters/trunk/silicon-counters.php
r1597222 r1636956 6 6 * 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. 7 7 * Author: Silicon Themes 8 * Version: 1.1. 18 * Version: 1.1.2 9 9 * License: GPLv2 or later 10 10 * Text Domain: silicon-counters
Note: See TracChangeset
for help on using the changeset viewer.