Get post social settings is a WordPress ability from SEOPress — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get post social settings
Read-onlyRetrieve the social (Facebook/Open Graph and X/Twitter) title, description and image metadata of a post.
Requires the SEOPress plugin on WordPress 6.9+ for the Abilities API — abilities are registered only when wp_register_ability() exists, gated by the plugin's own seopress_abilities_api_available() check. Each per-post ability additionally requires the current user to hold the WordPress 'edit_post' capability for the target post (and the post must exist); the global title settings ability instead requires the SEOPress capability for managing title settings, which defaults to manage_options and is filterable via seopress_capability().
What it does
This ability wraps SEOPress's SocialSettings REST controller (processGet) to return the social sharing metadata SEOPress stores for a post — the Facebook/Open Graph title, description and image, and the X/Twitter title, description and image overrides — as a list of raw { key, value } meta entries. It lets an AI assistant check exactly what a post's social card will show on Facebook and X before recommending or making changes, without the user having to open the SEOPress 'Social' post metabox tab.
See it in action
You ask your AI assistant
"What social sharing title, description and image are configured for post 128 right now?"
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| post_id | integer | Yes | The ID of the post, page or custom post type entry. |
Returns
An array of { key, value } entries listing the post's SEOPress social meta — Facebook/Open Graph and X/Twitter title, description and image overrides.
Permission
The current user must be able to edit the target post (the WordPress 'edit_post' capability for that post ID); the ability also verifies the post exists and returns a WP_Error otherwise.
More SEOPress abilities
Analyze post content
Run the SEOPress content analysis on a published post and return the SEO score, checks and recommendations.
Get global title & meta description settings
Retrieve the site-wide SEOPress title and meta description templates and separator configuration.
Get post robots settings
Retrieve the robots/indexing directives of a post (noindex, nofollow, canonical URL, primary category, breadcrumbs, etc.).
Get post SEO title and meta description
Retrieve the custom SEO title and meta description set for a specific post, page or custom post type entry.
Update post robots settings
Update the robots/indexing directives of a post.
Update post SEO title and meta description
Set or clear the custom SEO title and/or meta description of a specific post.