Reputation: 741
To generate user's profile from id, which is the right way in following?
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."
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?
Upvotes: 4
Views: 3417
Reputation: 370
www.facebook.com/ID works for any Facebook Graph API Object, including users, pages, posts, photos and videos.
e.g.
Upvotes: 2
Reputation: 847
http://www.facebook.com/ID is the new way, and it works for all IDs I have used. profile.php is the old way (when FB URLs didn't use to be clean) and its still supported, but /ID should always work.
Upvotes: 1