Get user Location/Hometown through Facebook Graph API

Is there a way to get the location/hometown (whichever available) using the facebook graph API?

The catch here is I do not want the user to go through an authentication process, meaning I want to get the location/hometown without having the access_token

Therefore, the following case would be void,hometown&access_token=USER_ACCESS_TOKEN

Please help



access token is required with the following permissions



use hometown_location field of a user table to get location details. We get this info. only if a user shares it's location detail public.

If you have the permissions to access this user data, you just have to parse the key-value dict to your model, eg:

self.user.location = [user objectForKey:@"location"][@"name"];

same for hometown:

self.user.hometown = [user objectForKey:@"hometown"][@"name"];


Need Your Help

Download random files as zip

php html random directory

I posted my code a few days back and I am now at this point with it. I have acquired the random files however, when they zip it becomes a zip.cpgz file after unzipping. I am sure that this has some...

Liquibase DB Independent Insert statements

mysql database oracle liquibase

I have a schema for Oracle/MySql/PostgreSql defined using Liquibase. I have some insert statements. Now I want to write the <insert> tag that would support all three DBs, such that if it is M...