Reputation: 1059
I would like my canvas application to obtain time-zones of my user's friends.
I tried doing it with the Graph API but all I can get is their names, locales and a few more (even when using the access_token
).
When using FQL the timezone
field is always empty.
Cheers
Upvotes: 1
Views: 562
Reputation: 38135
I guess this is not possible, only the following fields were retrieved when calling $this->facebook->api("/friend_ID");
:
Array
(
[id] =>
[name] =>
[first_name] =>
[last_name] =>
[link] =>
[gender] =>
[locale] =>
[updated_time] =>
)
Now in the documentation, the above fields are the fields marked Publicly available
, in time the timezone
field is Available to everyone on Facebook
which sounds like the same but apparently it's not, anyway I've found this interesting article for a moderator on the facebook forums (not a developer!!)
Also tried the old rest lib, first get a list of your friends from the console and then add your ID and put them in the test console of the users.getinfo method, UIDs looks like your_id,friend_id,friend_id,friend_id,friend_id
and fields timezone
you'll only get your timezone.
Upvotes: 1