I'm trying to get the current location of the user's friends on facebook, and I come across a curious problem, when some of these friends are reading a NULL, when I can see their real pages Facebook, he says, "lives" in , . βThe hard part of this error is that it only occurs in ~ ~ 30% of cases. In the remaining cases, it extracts all the correct information, which tells me that the permissions are probably configured correctly.
To be specific, the FQL code I use is:
SELECT uid,
name,
current_location
FROM USER
WHERE uid IN (SELECT uid2
FROM friend
WHERE uid1 = Me())
The same problem arose when creating javascript queries directly on the chart, therefore it is also not a FQL problem. Does anyone know why current_location can sometimes fail and report NULL, but not always?
Thank.
source
share