App Logo
linkedin.com

Edit LinkedIn post

Edit the text of one of your own LinkedIn posts, given its permalink. Replaces the body with new text and confirms the change actually rendered on the post afterwards. Refuses posts you cannot edit (someone else's, or a type LinkedIn offers no Edit action for) instead of guessing.

Input

url required

Permalink of a post owned by the logged-in account, e.g. https://www.linkedin.com/feed/update/urn:li:share:7498370628849147904/ — as returned by create_post, get_post or get_profile_posts. Query string is ignored. A post belonging to someone else is refused, since LinkedIn offers no Edit action on it.

text required

The new post body, replacing the existing one entirely. This edits a real, public post immediately and irreversibly — the previous text is not recoverable through this script — so show the exact replacement text to the user and get their explicit approval for this specific content before running. Approval from an earlier or unrelated message does not carry over. LinkedIn publicly marks an edited post as edited.

Output

url required

The permalink acted on, query string stripped.

text required

The new body that was saved.

edited required

True once the Save went through.

account_used required

Display name of the logged-in member, read from the post's own author line rather than assumed.

verified_on_page required

True only if the permalink was reloaded after saving and the post actually renders the new text. Never inferred from the dialog closing.

unchanged optional

True when the requested text already matched the post's current body — nothing was saved, because LinkedIn keeps Save disabled until the text actually differs.

previous_text optional

The body as it stood before this edit, read out of the editor. Null if it could not be read.

Start building not clicking