No one is interested in paying for a full featured team to create an API for every particular platform — I am an ASP.NET Core developer, and I hate the fact that there are very less frameworks and APIs available to get things working.
However, since there is no such library, what you need to use is REST API. You should look in the PHP documents, or simple web based solutions and see the request methods and required parameters etc. You can then send the request to it manually using
HttpClient
object and it would work perfectly. That is exactly, what every API is doing.
using (var client = new HttpClient()) {
}
Also, Facebook provides JavaScript SDK that you can use for this as well,
JavaScript SDK[
^], utilize this on the page load events and request data from Facebook servers.