'Determine what is Facebook URL for
I have a project in which we have to enter a Facebook URL, after submitting the URL we have to determine if this URL is for a personal profile or a public page.
the URL of personal profile and public pages have the same structure for example:
personal profile: https://www.facebook.com/zuck
public page: https://www.facebook.com/cnn
so I need a programmatically way using HTTP request or whatever possible to figure it out what is this link for.
I tried doing that with Facebook graph API but I couldn't find out how.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
