Open danilomr12 opened 10 years ago
This issue has been in Spring Social for a real long time. Country and Location is part of a user's public profile and should be available. But I too always see null in those values.
We could use an IP Location db that we have, but the ConnectionSignUp API execute method doesn't give us access to the users IP address to do that kind of lookup.
Thanks
Mark
When getting a profile location ou hometown like: Facebook facebook = new FacebookTemplate(token) FacebookProfile fbProfile = facebook.userOperations().userProfile location = facebook.pageOperations().getPage(fbProfile.location.id).location
fbProfile.location returns only name and id with the id we can get the page/place by doing
facebook.pageOperations().getPage(fbProfile.location.id).location This location returned is a city and the has just a name and lat long position, no id, no state, no country. Like shown at the print screen at the link above: