GET /meta/external-services/$service

Get information about a single external service that WordPress.com or Jetpack sites can integrate with via keyring.

Resource Information

   
Method GET
URL https://public-api.wordpress.com/rest/v1.1/meta/external-services/$service
Requires authentication? No

Method Parameters

Query Parameters

Response Parameters

Resource Errors

This endpoint does not return any errors.

Example

curl 'https://public-api.wordpress.com/rest/v1.1/meta/external-services/facebook'
<?php
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,
  ),
);

$context  = stream_context_create( $options );
$response = file_get_contents(
	'https://public-api.wordpress.com/rest/v1.1/meta/external-services/facebook',
	false,
	$context
);
$response = json_decode( $response );
?>

Response

{
    "ID": "facebook",
    "label": "Facebook",
    "type": "publicize",
    "description": "Publish your posts to your Facebook timeline or page.",
    "genericon": {
        "class": "facebook-alt",
        "unicode": "\\f203"
    },
    "icon": "http:\/\/i.wordpress.com\/wp-content\/admin-plugins\/publicize\/assets\/publicize-fb-2x.png",
    "connect_URL": "https:\/\/public-api.wordpress.com\/connect\/?action=request&kr_nonce=3b6835b56f&nonce=721c6337ce&for=connect&service=facebook&kr_blog_nonce=517dbacb44&magic=keyring&blog=2916284",
    "multiple_external_user_ID_support": true,
    "jetpack_support": true,
    "jetpack_module_required": "publicize"
}