Skip to content
nov edited this page Jun 2, 2014 · 14 revisions

fb_graph2 Wiki

Debugging

If you have any errors when using fb_graph2, debug actual Graph API response.
By calling `FbGraph2.debug!` on top of your code, you’ll see actual HTTP request & response in your console.

FbGraph2.debug!

## NOTE: You can set your own logger too.
# FbGraph2.logger = Rails.logger

FbGraph::User.me('access_token').fetch
me.feed! message: 'Hello World'

Since Graph API response format sometimes changes without notice, fb_graph2 might causes errors because of the change.
If you find any such issues, open issue please. (Pull requests are GREAT!)

API Calls

TODO: coming soon..

Clone this wiki locally