nov/fb_graph — Issue #134: Can't fetch user location, permissions are correct
Author: snitko
Created: 2011-10-13 12:37:53+00:00
State: open

Maybe I'm doing something wrong, but I can't get user location, it returns nil. Here's how it looks:

def facebook
@facebook_user ||= FbGraph::User.me(self.facebook_token).fetch
end

def fetch_facebook_data
self.facebook.name # => "User Name"
self.facebook.location # => nil
end

Also `FbGraph::User.me(self.facebook_token).permissions` includes `user_location'. Basically, here's what the object I get in @facebook_user:

#

As you can see, no location. However, it still doesn't raise NoMethodError, but rather returns nil when I call `#location` method.