With the help of Facebook Graph API, we can get various information about any Facebook page. The Graph API as such allows you to easily access all public information about an object. The Graph API presents a simple, consistent view of the Facebook social graph and every object in the social graph has a unique ID. You can access the properties of an object by requesting https://graph.facebook.com/ID or https://graph.facebook.com/username.
For example, the username of the authorcode Facebook page is ‘authorcode’, so you can fetch the object at https://graph.facebook.com/authorcode.
We can also use the Facebook Graph api in c#.
Suppose if you want to get the total numbers of likes of your Facebook page, you can use the following code sample: