Skip to content

fix: Facebook post deletion#644

Open
redshiftzero wants to merge 1 commit intomainfrom
643-facebook
Open

fix: Facebook post deletion#644
redshiftzero wants to merge 1 commit intomainfrom
643-facebook

Conversation

@redshiftzero
Copy link
Copy Markdown
Contributor

Towards #643

@redshiftzero redshiftzero force-pushed the 643-facebook branch 2 times, most recently from 6abfd1f to 76a27db Compare April 6, 2026 00:32
this commit:
* adds additional automation error types
* parses available action types, add priority ordering
* rewrites the main item checking loop
* test coverage for new logic for facebook priority
* i18n: update strings for facebook priority changes
@redshiftzero
Copy link
Copy Markdown
Contributor Author

I tested deletion using a test account where I had:

  • several posts on the wall (test delete flow)
  • several profile picture changes (test hide flow)

Tagging is a bit annoying to test in that I tagged myself in one of the photos on my test account, but it didn't seem to populate on the wall, so I think one needs to tag from another account and then it appears on the wall?

@redshiftzero redshiftzero marked this pull request as ready for review April 6, 2026 00:46
@redshiftzero redshiftzero changed the title wip: fixing Facebook post deletion fix: Facebook post deletion Apr 6, 2026
Copy link
Copy Markdown
Member

@micahflee micahflee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fails to select the "Remove Tags" option.

I got this automation error (which I'm just pasting here instead of submitting)..

Details:

{
  "batchNumber": 2,
  "message": "Failed to select untag posts option"
}

Context:

{
  "currentURL": "https://www.facebook.com/profile.php?id=61572798227018",
  "logs": [
    {
      "timestamp": "2026-04-06T19:24:55.940Z",
      "func": "waitForLoadingToFinish",
      "message": "waiting for loading to finish"
    },
    {
      "timestamp": "2026-04-06T19:24:56.142Z",
      "func": "waitForLoadingToFinish",
      "message": "loading finished"
    },
    {
      "timestamp": "2026-04-06T19:24:56.142Z",
      "func": "loadURL",
      "message": "try #0, https://www.facebook.com/me/"
    },
    {
      "timestamp": "2026-04-06T19:24:57.591Z",
      "func": "loadURL",
      "message": "URL loaded successfully"
    },
    {
      "timestamp": "2026-04-06T19:24:57.592Z",
      "func": "waitForLoadingToFinish",
      "message": "waiting for loading to finish"
    },
    {
      "timestamp": "2026-04-06T19:24:57.792Z",
      "func": "waitForLoadingToFinish",
      "message": "loading finished"
    },
    {
      "timestamp": "2026-04-06T19:24:57.792Z",
      "func": "waitForLoadingToFinish",
      "message": "waiting for loading to finish"
    },
    {
      "timestamp": "2026-04-06T19:24:57.993Z",
      "func": "waitForLoadingToFinish",
      "message": "loading finished"
    },
    {
      "timestamp": "2026-04-06T19:24:57.996Z",
      "func": "runJobDeleteWallPosts",
      "message": "Starting batch 2"
    },
    {
      "timestamp": "2026-04-06T19:24:57.996Z",
      "func": "runJobDeleteWallPosts",
      "message": "Clicking Manage posts button"
    },
    {
      "timestamp": "2026-04-06T19:24:58.512Z",
      "func": "runJobDeleteWallPosts",
      "message": "Dialog opened, waiting for posts to load"
    },
    {
      "timestamp": "2026-04-06T19:24:59.016Z",
      "func": "runJobDeleteWallPosts",
      "message": "Found 9 items after 504ms"
    },
    {
      "timestamp": "2026-04-06T19:24:59.016Z",
      "func": "runJobDeleteWallPosts",
      "message": "Found 9 items with checkboxes"
    },
    {
      "timestamp": "2026-04-06T19:24:59.341Z",
      "func": "runJobDeleteWallPosts",
      "message": "Action description: \"You can untag yourself from or hide the posts selected.\""
    },
    {
      "timestamp": "2026-04-06T19:24:59.341Z",
      "func": "runJobDeleteWallPosts",
      "message": "First item sets batch action to \"untag\", checked 1/10"
    },
    {
      "timestamp": "2026-04-06T19:24:59.660Z",
      "func": "runJobDeleteWallPosts",
      "message": "Action description: \"You can hide the posts selected.\""
    },
    {
      "timestamp": "2026-04-06T19:24:59.660Z",
      "func": "runJobDeleteWallPosts",
      "message": "Item [0][1] changes priority from \"untag\" to \"hide\", unchecking and stopping"
    },
    {
      "timestamp": "2026-04-06T19:24:59.970Z",
      "func": "runJobDeleteWallPosts",
      "message": "Selected 1 items for action \"untag\""
    },
    {
      "timestamp": "2026-04-06T19:24:59.970Z",
      "func": "runJobDeleteWallPosts",
      "message": "Clicking Next button"
    },
    {
      "timestamp": "2026-04-06T19:25:00.974Z",
      "func": "runJobDeleteWallPosts",
      "message": "Selecting \"untag\" option"
    }
  ]
}

And here's a screenshot of the screenshot:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants