0

I am using fql from facebook and querying user table to get profile_url

string facebook_info = Convert.ToString(FacebookAppExtensions.Query(app, "**SELECT 
                       profile_url from user where uid=" + facebook_ID**));
facebook_info = facebook_info.Substring(17);
char[] charsToTrim1 = { '}', ']', ' ', '"' };
facebook_info = facebook_info.TrimEnd(charsToTrim1);

The problem is that for some users the URL works while for other users, facebook says "UNKNOWN" page, is this a bug?

Thanks Behrouz

Shekhar_Pro
  • 18,056
  • 9
  • 55
  • 79
Bruce
  • 2,133
  • 12
  • 34
  • 52

2 Answers2

1

I think as all data you can fetch this is controlled by the user too. If user doesn't let you fetch data about him, then you don't get that data via FQL.

Ákos Nikházy
  • 1,276
  • 17
  • 33
1

no need to query: http://www.facebook.com/profile.php?id=UID

whallz
  • 2,365
  • 2
  • 22
  • 24