By Cory Eastman on Wednesday, 30 September 2015
Posted in General Issues
Likes 0
Views 481
Votes 0
How do I retrieve a specific user's location? I don't see it in the documentation: http://stackideas.com/docs/easysocial/developers/users/users
Hi Cory,

Do you mean that you want to retrieve user's address? If that so you can try to use the following API in order to retrieve user's address custom field value,
$userId = 25; // example of user id
$user = FD::user($userId);
$address = $user->getFieldData('ADDRESS');
·
Wednesday, 30 September 2015 12:24
·
0 Likes
·
0 Votes
·
0 Comments
·
This works great. Thanks!
·
Wednesday, 30 September 2015 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Cory,

You are most welcome.
·
Wednesday, 30 September 2015 13:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post