facebook - Can't get statuses using koala for ruby on rails -
i'm new koala , fb graph. want rails app display statuses fb page. code is:
@oauth = koala::facebook::oauth.new(app_id, app_secret, nil) @graph = koala::facebook::api.new(@oauth.get_app_access_token) @statuses = @graph.get_connections('page_id', "statuses") the error is:
koala::facebook::clienterror: type: oauthexception, code: 100, message: (#100) requires user session [http 400] i guess it's because i've got app_id , not user session not sure how fix. please help.
ruby-on-rails facebook facebook-graph-api oauth koala
No comments:
Post a Comment