my FQL returns illegal characters for UID. This is my FQL. select uid,books from user where uid in (select uid2 from friend where uid1=me())
. I am using the PHP SDK and I am getting ids like 1.0000008018280E+14
(Something with 'E'in between.). Around 400 of my total 600 contacts show UID like this.I tried pointing facebook.com/1.0000008018280E+14
, which returns a 304 page not found error. The code I am using is
$fql_query_url = 'https://graph.facebook.com/'.'fql?q=select+uid,books+from+user+where+uid+in(select+uid2+from+friend+where+uid1=me())'.'&access_token='.$_GET['access'];
$fql_query_result = file_get_contents($fql_query_url);
$fql_query_obj = json_decode($fql_query_result, true)
// display results of fql query
echo '<pre>';
print_r($fql_query_obj);
echo '</pre>';