{"id":876,"date":"2011-10-28T13:01:50","date_gmt":"2011-10-28T13:01:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/social-count-plus\/"},"modified":"2019-10-23T07:29:07","modified_gmt":"2019-10-23T07:29:07","slug":"social-count-plus","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/social-count-plus\/","author":6207869,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.4.1","stable_tag":"3.4.1","tested":"5.3.21","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Social Count Plus","header_author":"Claudio Sanches","header_description":"","assets_banners_color":"ffffff","last_updated":"2019-10-23 07:29:07","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=Y8HP99ZJ5Z59L","header_plugin_uri":"https:\/\/github.com\/claudiosanches\/social-count-plus","header_author_uri":"https:\/\/claudiosanches.com\/","rating":4.7,"author_block_rating":0,"active_installs":4000,"downloads":477686,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"3.4.1":"<ul>\n<li>Removed <code>rel=&amp;quot;nofollow&amp;quot;<\/code> option and applied automatically to all links.<\/li>\n<\/ul>"},"ratings":{"1":"6","2":"1","3":"2","4":"7","5":"93"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1228274","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1228274","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1235029","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.1.1","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.4.0","3.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1140723","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1140723","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1140723","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1140723","resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1140723","resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Settings page.","2":"Design page.","3":"Shortcodes and Functions API page.","4":"System Status page.","5":"Widget."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[869,157,1673,80,162],"plugin_category":[36,43,56],"plugin_contributors":[77604,78585,78584],"plugin_business_model":[],"class_list":["post-876","plugin","type-plugin","status-closed","hentry","plugin_tags-counter","plugin_tags-facebook","plugin_tags-github","plugin_tags-shortcode","plugin_tags-widget","plugin_category-analytics","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-claudiosanches","plugin_contributors-deblynprado","plugin_contributors-felipesantana","plugin_committers-claudiosanches"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/social-count-plus_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/social-count-plus\/assets\/screenshot-1.png?rev=1140723","caption":"Settings page."},{"src":"https:\/\/ps.w.org\/social-count-plus\/assets\/screenshot-2.png?rev=1140723","caption":"Design page."},{"src":"https:\/\/ps.w.org\/social-count-plus\/assets\/screenshot-3.png?rev=1140723","caption":"Shortcodes and Functions API page."},{"src":"https:\/\/ps.w.org\/social-count-plus\/assets\/screenshot-4.png?rev=1140723","caption":"System Status page."},{"src":"https:\/\/ps.w.org\/social-count-plus\/assets\/screenshot-5.png?rev=1140723","caption":"Widget."}],"raw_content":"<!--section=description-->\n<p>The Social Count Plus performs counting for:<\/p>\n\n<ul>\n<li>Comments total<\/li>\n<li>Facebook page fans<\/li>\n<li>GitHub followers<\/li>\n<li>Google+ page\/profile followers<\/li>\n<li>Instagram followers<\/li>\n<li>LinkedIn company followers<\/li>\n<li>Pinterest followers<\/li>\n<li>Posts total<\/li>\n<li>SoundCloud followers<\/li>\n<li>Steam Community group members<\/li>\n<li>Tumblr followers<\/li>\n<li>Twitch channel followers<\/li>\n<li>Twitter followers<\/li>\n<li>Users total<\/li>\n<li>Vimeo followers<\/li>\n<\/ul>\n\n<p>You can display your numbers using a Widget (with links and icons) or Shortcodes (to be used in posts and pages) or PHP functions in your theme.<\/p>\n\n<p>The results of the counters are cached and new values \u200b\u200bare checked only once a day. This cache can be wiped when published a new post.<\/p>\n\n<p>The cache avoids not only that your blog be seeking new results every time a page is loaded, but also prevents collapse of services from Twitter and Facebook, if one of these services does not respond, the counter displays the last count it was successful.<\/p>\n\n<h4>Contribute<\/h4>\n\n<p>You can contribute to the source code in our <a href=\"https:\/\/github.com\/claudiosanches\/social-count-plus\">GitHub<\/a> page.<\/p>\n\n<h4>Credits<\/h4>\n\n<ul>\n<li>Flat icons set, Instagram, SoundCloud and Steam icons by <a href=\"http:\/\/wordpress.org\/support\/profile\/felipesantana\">Felipe Santana<\/a><\/li>\n<li>Steam counter by <a href=\"http:\/\/wordpress.org\/support\/profile\/tkrivickas\">Tadas Krivickas<\/a><\/li>\n<li><code>wp_remote_get()<\/code> connection test with <a href=\"https:\/\/httpbin.org\/\">httpbin<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;<\/li>\n<li>Activate the plugin;<\/li>\n<li>Navigate to Settings -&gt; Social Count Plus and fill the plugin options.<\/li>\n<\/ul>\n\n<p>Some counters depend on third-party APIs to work, follow the next steps to generate API keys for each of them:<\/p>\n\n<h4>Instagram<\/h4>\n\n<p>Get your User ID and Access Token in: https:\/\/socialcountplus-instagram.herokuapp.com\/<\/p>\n\n<h4>LinkedIn<\/h4>\n\n<p>Get your Company ID and Access Token in: https:\/\/socialcountplus-linkedin.herokuapp.com\/<\/p>\n\n<h4>Facebook<\/h4>\n\n<p>You must create a Facebook app to use the Facebook Graph API.<\/p>\n\n<p>Log in https:\/\/developers.facebook.com\/ and go to \"My Apps &gt; Add a New App\".<\/p>\n\n<p>Then follow the steps in this video:<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=m1QArbW2z4A<\/p>\n\n<h4>Google+ and YouTube<\/h4>\n\n<p>It's required a Google API Key for Google+ and YouTube.<\/p>\n\n<p>Access https:\/\/console.developers.google.com\/project to create you Google API key following this steps:<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=KufdCMLMuFs<\/p>\n\n<h4>Twitter<\/h4>\n\n<p>You need access https:\/\/dev.twitter.com\/apps, then create a Twitter App and copy the Consumer key, Consumer secret, Access token and Access token secret:<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=26dpo-g_jQc<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What is the plugin license?<\/dt>\n<dd><ul>\n<li>This plugin is released under a GPL license.<\/li>\n<\/ul><\/dd>\n<dt>Google+ is not working?<\/dt>\n<dd><p>You probably have not been able to generate API keys as it should.<\/p>\n\n<p>You can test the API key with the following link:<\/p>\n\n<pre><code>https:\/\/www.googleapis.com\/plus\/v1\/people\/+ClaudioSanches?key=API_KEY_HERE\n<\/code><\/pre>\n\n<p>The answer must contain the following line:<\/p>\n\n<pre><code>\"circledByCount\": XXX,\n<\/code><\/pre><\/dd>\n<dt>How to changing the amount of times the counter is updated daily?<\/dt>\n<dd><p>You can change using the filter <code>social_count_plus_transient_time<\/code>.<br \/>\nExample:<\/p>\n\n<pre><code>function social_count_plus_custom_transient_time( $time ) {\n    return 43200; \/\/ 12 hours in seconds.\n}\n\nadd_filter( 'social_count_plus_transient_time', 'social_count_plus_custom_transient_time' );\n<\/code><\/pre><\/dd>\n<dt>How can I round numbers?<\/dt>\n<dd><p>It's possible to round numbers using the <code>social_count_plus_number_format<\/code> filter.<\/p>\n\n<p>Example of rounding 1500 to 1.5K or 1000000 to 1M:<\/p>\n\n<pre><code>function my_custom_scp_number_format( $total ) {\n    if ( $total &gt; 1000000 ) {\n        return round( $total \/ 1000000, 1 ) . 'M';\n    } else if ( $total &gt; 1000 ) {\n        return round( $total \/ 1000, 1 ) . 'K';\n    }\n\n    return $total;\n}\n\nadd_filter( 'social_count_plus_number_format', 'my_custom_scp_number_format' );\n<\/code><\/pre><\/dd>\n<dt>Can I use my own icons?<\/dt>\n<dd><p>Yes, you can!<\/p>\n\n<p>Select one of the options without icons in \"WordPress admin &gt; Social Count Plus &gt; Design\" and create your own CSS in your theme or anywhere you prefer.<\/p>\n\n<p>The CSS classes you will need to use:<\/p>\n\n<pre><code>.social-count-plus .custom .count-comments a {}\n.social-count-plus .custom .count-facebook a {}\n.social-count-plus .custom .count-github a {}\n.social-count-plus .custom .count-googleplus a {}\n.social-count-plus .custom .count-instagram a {}\n.social-count-plus .custom .count-linkedin a {}\n.social-count-plus .custom .count-pinterest a {}\n.social-count-plus .custom .count-posts a {}\n.social-count-plus .custom .count-soundcloud a {}\n.social-count-plus .custom .count-steam a {}\n.social-count-plus .custom .count-tumblr a {}\n.social-count-plus .custom .count-twitch a {}\n.social-count-plus .custom .count-twitter a {}\n.social-count-plus .custom .count-users a {}\n.social-count-plus .custom .count-vimeo a {}\n<\/code><\/pre><\/dd>\n<dt>Having troubles?<\/dt>\n<dd><p>If you have any problems with the numbers, go to the plugin settings and then to the \"System Status\" tab and click the \"Get System Report\" button.<\/p>\n\n<p>Copy the report file content and paste it in <a href=\"https:\/\/gist.github.com\">gist.github.com<\/a> or <a href=\"http:\/\/pastebin.com\">pastebin.com<\/a>, save and get a link, finally create a topic in our <a href=\"https:\/\/wordpress.org\/support\/plugin\/social-count-plus\">support forum<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.4.1 - 2017\/11\/01<\/h4>\n\n<ul>\n<li>Removed <code>rel=\"nofollow\"<\/code> option and applied automatically to all links.<\/li>\n<\/ul>\n\n<h4>3.4.0 - 2017\/10\/25<\/h4>\n\n<ul>\n<li>Updated Twitch integration requiring \"Twitch Client ID\".<\/li>\n<li>Fixed PHP notices when Pinterest profile does not exist.<\/li>\n<li>Introduced the <code>social_count_plus_get_view_li<\/code> filter.<\/li>\n<\/ul>\n\n<h4>3.3.6 - 2017\/04\/25<\/h4>\n\n<ul>\n<li>Fixed Facebook integration according with new Facebook API requirements (Thanks to <a href=\"https:\/\/github.com\/claudiosanches\/social-count-plus\/pull\/38\">tc33<\/a>).<\/li>\n<\/ul>\n\n<h4>3.3.5 - 2016\/08\/20<\/h4>\n\n<ul>\n<li>Update and fixed the Facebook integration.<\/li>\n<\/ul>\n\n<h4>3.3.4 - 2016\/06\/18<\/h4>\n\n<ul>\n<li>Improved the widget styles, not forcing styles anymore (just select the color as empty). Thanks to Sinisa Nikolic.<\/li>\n<li>Added <code>social_count_plus_label<\/code> filter.<\/li>\n<\/ul>\n\n<h4>3.3.3 - 2016\/04\/26<\/h4>\n\n<ul>\n<li>Updated the Facebook API to support APPs v2.5 or later.<\/li>\n<\/ul>\n\n<h4>3.3.2 - 2015\/09\/28<\/h4>\n\n<ul>\n<li>Restored the <code>social_count_plus_number_format<\/code> filter.<\/li>\n<\/ul>\n\n<h4>3.3.1 - 2015\/09\/28<\/h4>\n\n<ul>\n<li>Added submenu in settings page.<\/li>\n<\/ul>\n\n<h4>3.3.0 - 2015\/09\/05<\/h4>\n\n<ul>\n<li>Added option to show all user roles in users integration.<\/li>\n<li>Fixed errors in PHP 5.2.<\/li>\n<\/ul>","raw_excerpt":"Displays your number of followers from Facebook, Google+, Instagram, Twitch, Twitter and several other social media websites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=876"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/claudiosanches"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=876"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=876"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=876"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=876"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=876"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}