Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Profile url from id

To generate user's profile from id, which is the right way in following?

  1. http://facebook.com/profile.php?id=ID Working but for some users, getting error "Profile Unavailable Sorry, this profile is not available at the moment. Please try again shortly."

  2. http://www.facebook.com/ID Working but not sure if it will work for all users

Is there any robust way to do this, with graph api or any other way?

like image 499
Rnk Jangir Avatar asked Oct 20 '25 05:10

Rnk Jangir


1 Answers

www.facebook.com/ID works for any Facebook Graph API Object, including users, pages, posts, photos and videos.

e.g.

  • https://www.facebook.com/19292868552 will take you to the Facebook Developers Page
  • https://www.facebook.com/10151403325753553 will take you to the profile pic of the above page
like image 171
Iain Simmons Avatar answered Oct 22 '25 05:10

Iain Simmons



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!