Here is an example of scraping Facebook posts after logging in with user credentials using C# and Selenium:
main.cs1233 chars43 lines
Note that this example uses Selenium and requires a ChromeDriver executable to be downloaded and added to your project. Additionally, this code is for educational purposes only and should not be used to violate Facebook's terms of service.
gistlibby LogSnag