trying to get page statuses

10 views
Skip to first unread message

yoav...@gmail.com

unread,
Jun 20, 2014, 2:07:20 PM6/20/14
to fb_g...@googlegroups.com
Hi All,
I'm trying to get the list of statuses from a page and getting the error
NoMethodError: undefined method `merge' for 1436177403319235|4rF151EmJtAjFRjO63AbpaKNpsA:Rack::OAuth2::AccessToken::Legacy

My code is:
app = FbGraph::Application.new(APP_ID, :secret => SECRET_ID)
token = app.get_access_token
statuses = FbGraph::Page.fetch(PAGE_ID, :access_token => token).statuses(token)

What am I missing?

Best Regards,
Yoav
Reply all
Reply to author
Forward
0 new messages