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

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
404 not_found The service provided does not exist

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=119fd7e7e6&nonce=656007d3b8&for=connect&service=facebook&kr_blog_nonce=a77f7455c1&magic=keyring&blog=2916284",
    "multiple_external_user_ID_support": true,
    "external_users_only": true,
    "jetpack_support": true,
    "jetpack_module_required": "publicize"
}