I want to retrieve the currently signed in user with some of her attributes (like last_name) filled.
auth = FbGraph2::Auth.new('<app id>', '<app secret>')
user = auth.from_signed_request('<signed_request param from canvas page>').user
user = user.fetch(fields: 'id,first_name,last_name,currency,locale,email,third_party_id,is_eligible_promo')
RuntimeError: Called id for nil, which would mistakenly be 8 -- if you really wanted the id of nil, use object_id
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/util.rb:7:in `as_identifier'
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/node.rb:92:in `build_endpoint'
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/node.rb:61:in `block in get'
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/node.rb:108:in `handle_response'
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/node.rb:60:in `get'
from /Users/luke/.rvm/gems/ruby-2.0.0-p598/gems/fb_graph2-0.5.1/lib/fb_graph2/node.rb:24:in `fetch'
Obviously I'm doing something wrong. But what? :)