Skip to content

feat: implement deletion via Facebook activity log#663

Open
SaptakS wants to merge 23 commits into
mainfrom
fb-activity-log
Open

feat: implement deletion via Facebook activity log#663
SaptakS wants to merge 23 commits into
mainfrom
fb-activity-log

Conversation

@SaptakS

@SaptakS SaptakS commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

@redshiftzero this is the work I had done. Will need a lot of cleanup and testing and also write functions for other parts apart from post. Let me know if some code doesn't make sense.

Closes #653

@redshiftzero

Copy link
Copy Markdown
Contributor

Added a bunch here, I haven't updated the tests yet but I have things mostly working:

Screenshot 2026-06-21 at 5 49 19 PM Screenshot 2026-06-21 at 5 49 34 PM

Except I get this while testing so FB is throttling deletions:

Screenshot 2026-06-21 at 6 11 50 PM

@redshiftzero

Copy link
Copy Markdown
Contributor

A few more fun things:

@redshiftzero

Copy link
Copy Markdown
Contributor

After 40ceb21, I was able to delete all my FB data successfully using this approach. We need to ensure we have test data for each category we're deleting here and retest.

@redshiftzero redshiftzero changed the title Facebook activity log feat: implement deletion via Facebook activity log Jun 23, 2026
@redshiftzero

redshiftzero commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Test Plan

Test Data

Here are the categories we need to test that can be tested individually (these I have tested):

  • Posts, photos, and videos - I posted on my own timeline 1 text post, 1 photo post, 1 video post
  • Comments - I commented on a friend's post
  • Likes and reactions - I reacted/liked a friend's post
  • Check-ins - I checked in at a location
  • Your posts on other people's timelines - I posted on a friend's timeline and in a group

Things that we need our friends help testing (these I have not tested):

  • Other people's posts on your timeline
  • Photos and videos you're tagged in
  • Posts you're tagged in

Main test process

  1. Ensure you select all categories:
Screenshot 2026-06-28 at 3 10 01 PM
  1. Confirm for each data type it deletes the item.

Misc tests

Here are other things I checked:

  • I also re-ran with all categories to check idempotency, and all good.
  • I also checked just deleting a single category (leaving the others unchecked) is all good.

@redshiftzero redshiftzero marked this pull request as ready for review July 5, 2026 17:24
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.

[Facebook] switch to Activity Log

2 participants