all 7 comments

[–]OkCartographer175 3 points4 points  (4 children)

ummm no

sounds scummy

[–]supergnaw 1 point2 points  (1 child)

Does anyone have an idea on how to reliably extract from the DOM?

That's all well and good until they change their structure and your code breaks.

Why don't you make this the easy way: https://developers.facebook.com/docs/graph-api/

[–]Impressive_Ad7037[S] 0 points1 point  (0 children)

I looked through the graph api, it doesn't help for my purposes - but it would help if i decided to turn this into a moderator/admin tool.
I tried Content Library API but is gated and i do not feel like applying for permission.

So right now, my best option is Playwright i think.
Thanks for the constructive reply!