The Facebook API sample project demonstrates how you can perform actions on Facebook by using its API. It works with local virtual services simulating the API, but the same requests can be used with the real Facebook website.
https://support.smartbear.com/readyapi/docs/projects/samples/facebook.html

