Mark posts that disappear from X instead of erasing them; pin mcp below 2

social.x_deletions checks stored posts through the official API. A post X
reports as not found keeps a marked record (author, link, dates, Internet
Archive link if a copy exists) while every copy of its text is removed, as
the Developer Agreement requires. A post that shows up in the timeline again
is restored by the normal upsert.

mcp 2.x removed FastMCP, which crash-looped the MCP server on first deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
simonandClaude Opus 5.5 committed 2026-11-09 00:43:36 +01:00
1 parent 0e21730b9f
commit 693c32a5e9
18 files changed
+265 -16

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
{
"data": [
{"id": "111", "text": "Still online"}
],
"errors": [
{
"value": "222",
"detail": "Could not find tweet with ids: [222].",
"title": "Not Found Error",
"resource_type": "tweet",
"parameter": "ids",
"resource_id": "222",
"type": "https://api.twitter.com/2/problems/resource-not-found"
},
{
"value": "333",
"detail": "Sorry, you are not authorized to see the Tweet with ids: [333].",
"title": "Authorization Error",
"resource_type": "tweet",
"parameter": "ids",
"resource_id": "333",
"type": "https://api.twitter.com/2/problems/not-authorized-for-resource"
}
]
}