manifest / integrations / remote-content
Remote Content
WordPress plugin to help developers get remote content from Facebook, Instagram and Twitter in a standard format.
★ 0stars
128composer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/nickdavis/remote-content/archive/refs/heads/master.zipOn Packagist as nickdavis/remote-content:
composer require nickdavis/remote-contentNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Remote Content
WordPress plugin to help developers get remote content from Facebook, Instagram and Twitter in a standard format
About
This plugin is for developers who want to quickly and easily get data from the Facebook, Instagram and Twitter APIs in a standard format.
It is very much a work in progress.
Setup
Currently you need to define the relevant API keys as constants for the social network/s you want to use.
Do not define the constants in any version controlled file.
Instead include them in wp-config.php, assuming this is not version controlled.
Usage
First, get the data you need in either the standardised or raw format.
Standard format
The standard format gives you the data from the API in a standardised array, using keys such as title and username to give you a consistent way of working with the data, whatever the origin.
Raw format
The raw format gives you the raw data from the API call. To make it easier to view the output you might want to use Kint (also available for WordPress via the Kint PHP Debugger plugin) to more easily understand the output.