5
hitko
5y

Trying to delete a bunch of posts from my FB timeline. Why the fuck is there a 50 post limit? and why the hell do they have a 30s timeout, if their API is too slow to do it in sufficient time?

Comments
  • 0
    Update: wrote a script to automate it using FB's GraphQL API
  • 0
    @hitko Make it a gist!
  • 0
    @code-god I haven't put enough thought in it for that (wouldn't want to accidentally include some personal data), but the idea is pretty basic:
    - open dev tools (network tab)
    - introduce an action (in my case I scrolled the timeline to get post listing request, and then batch delete a few to get a delete request)
    - right click the request (look for 'graphql'), and select 'copy as fetch'

    Then you can just change variables inside the request body, and run it in the browser JS console (make sure there's "credentials": "include" among the options, otherwise it won't work).
  • 0
    @hitko It was just a suggestion😊
  • 0
    Just created a kiddy script to do that ... being stuck by timeout'd request is really frustrating ...

    gitlab [dot] com/-/snippets/2041864
Add Comment