manifest / integrations / remote-content
Remote Content
WordPress plugin to help developers get remote content from Facebook, Instagram and Twitter in a standard format
by Nick Davis · github.com/nickdavis/remote-content · website
★ 0stars
125composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nickdavis/remote-content/archive/refs/heads/master.zipAlso on Packagist as nickdavis/remote-content:
composer require nickdavis/remote-contentFrom the readme
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.