Environment:
- Facebook Unity Plugins v6.2.2
- Unity 4.6.8 p1
- GraphAPI 2.4
Problem
Using Unity with the above SDK Plugin installed, I enter the following:
(public_profile,user_friend,user_location,_user_hometown)
However the return does not include the hometown. How can I make it so it returns the correct value?
I have tried the codes on the following page, but was unsuccessful: How to retrieve user country using facebook Graph API?
Thanks
FYI, The above command works fine if I use the GraphAPI explorer
After
and
things (by the way you don't need any extra permissions to get country) this code will give you country
Has your app passed the login review process for the extended permissions
user_location
anduser_hometown
?See