Social Pulse
Social Pulse … is a WP plugin showing follower counts from YouTube, Facebook, X, and Steam. It uses Leader/Follower modes to reduce API requests. General Idea Social Pulse retrieves follower numbers from multiple platforms and displays them via WordPress shortcodes. In Leader mode, the plugin directly makes API requests to obtain the latest values, which are then cached and exposed at a dedicated URL. In Follower mode, the plugin skips direct API calls and instead retrieves the pre-fetched data from the Leader instance. * Screenshot Leader-Mode * Screenshot Follower-Mode Try it out! Download the ZIP Navigate to the WordPress Playground Go to the “Plugins” page Click “Add New Plugin” Click “Upload Plugin” Select the ZIP and click “Install Now” Click “Activate Plugin” The plugin should now be visible at the bottom of the WordPress menu. Leader and Follower Mode Leader Mode: In this mode, Social Pulse performs the actual API calls to get the latest follower counts and caches these values. The current values are also exposed at a special URL (e.g. /social-counters/values), which can be used by Follower instances. Follower Mode: Follower mode is designed to minimize API calls on installations that do not need to fetch data directly. Instead of making API requests, the plugin retrieves the cached values from the Leader URL. This is particularly useful when dealing with strict API rate limits. How to Use Social Pulse in Leader Mode Activate Leader Mode: In the plugin settings, select Leader as the mode. Configure API Credentials: Enter your API keys, tokens, and IDs for YouTube, Facebook, X, and Steam in the respective fields. Save Changes: Make sure to save your settings. Retrieve Values: The plugin will automatically fetch and cache the current follower counts. The exposed values URL (displayed on the settings page) can be used by Follower installations. How to Use Social Pulse in Follower Mode Activate Follower Mode: In the plugin settings, select Follower as the mode. Enter Leader URL: Provide the URL from a Leader installation (the URL where the leader exposes its cached values). Save Changes: Save your settings to store the Leader URL. Automatic Data Fetch: The plugin will now retrieve the follower values from the Leader URL every 5 minutes or whenever manually tested. Direct API requests are disabled in this mode. Where to Find the Necessary Information For each platform, you will need to obtain API keys, tokens, or IDs. Here are some helpful links to get you started: YouTube: YouTube Data API v3 – Getting Started (Find your API key and channel ID here.) Facebook: Facebook for Developers, Long Lasting Tokens for Clients (Learn how to create an app, get an access token, and locate your Page ID.) X (formerly Twitter): X Developer Platform, Generating and Using an App-Only Bearer-Token (Obtain a Bearer Token and set up your developer credentials.) Steam: Steam Web API Documentation (Find information on obtaining your Steam App ID and using the API.) External services WordPress guidelines require that the use of external services is clearly statet. Although this is the sole purpose of this plugin I hereby state the following external service usage: * Youtube API (https://www.googleapis.com/youtube/v3/channels) The Youtube API is used to receive the youtube followers of the account the “Youtube API Key” belongs to. * Steam API (https://api.steampowered.com/ISteamUserStats/GetNumberOfCurrentPlayers/v1/) The Steam API is used to receive the current players of the Steam app with the “Steam App ID” you enter. * Facebook API (https://graph.facebook.com/v22.0/) The Facebook API is used to gather fan or follower count of the facbook page with the “Facebook Page ID” you enter. * X API (https://api.twitter.com/2/users/by/username/) The X API is used to gather the follower count of the account with the “X Username” you enter.
Top keywords
- api26×4.09%
- follower17×2.68%
- leader14×2.20%
- mode14×2.20%
- steam9×1.42%
- url9×1.42%
- values9×1.42%
- youtube9×1.42%
- facebook8×1.26%
- follower mode6×0.94%
- enter5×0.79%
- id5×0.79%
WPGraphQL Smart Cache
Do you want your API data fast or accurate? With WPGraphQL Smart Cache, you can have both. WPGraphQL Smart Cache is a free, open-source WordPress plugin that provides support for caching and cache invalidation of WPGraphQL Queries. To get the most out of this plugin, we recommend using GET requests with Network Caching, which requires your WordPress install to be on a supported host. Note: WPGraphQL Smart Cache is now part of the WPGraphQL monorepo. All releases, issues, and discussions are managed in the main repository. BREAKING CHANGES: We may make breaking changes in the future to improve functionality and experience. If we do, we will use semver to do so. Pay attention to release notes and upgrade notices before updating. Video Overview Docs Overview Quick Start Features Network Cache Object Cache Persisted Queries Cache Invalidation Extending / Customizing Functionality FAQ and Troubleshooting Known Issues Providing Feedback Upgrading It is recommended that anytime you want to update WPGraphQL Smart Cache that you get familiar with what’s changed in the release. WPGraphQL Smart Cache publishes release notes on GitHub. Look for releases tagged with wp-graphql-smart-cache/v*. WPGraphQL Smart Cache will follow Semver versioning. The summary of Semver versioning is as follows: MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes. You can read more about the details of Semver at semver.org Privacy Policy WPGraphQL Smart Cache uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements. Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users. Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case. When you opt in, each telemetry request is sent to Appsero and a duplicate is sent in a non-blocking request to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same categories of data as described for Appsero below). Learn more about how Appsero collects and uses this data.
Top keywords
- cache11×2.96%
- wpgraphql10×2.69%
- data8×2.15%