Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional verbose debug logging for http requests #29

Closed
wants to merge 1 commit into from
Closed

Optional verbose debug logging for http requests #29

wants to merge 1 commit into from

Conversation

cbroglie
Copy link

@cbroglie cbroglie commented Apr 1, 2015

No description provided.

@huandu
Copy link
Owner

huandu commented Apr 1, 2015

@cbroglie Per #28, I plan to implement a debug mode with Facebook debugging API. I'll use Session#Debug for this purpose and put all http headers into the Result returned by Api/Get/Post/Delete. So I cannot merge your PR, but I'll consider to implement similar feature like yours in my code.

Apologize for closing this PR without merging, and thanks for your contribution all the same. :)

@huandu huandu closed this Apr 1, 2015
@cbroglie
Copy link
Author

cbroglie commented Apr 1, 2015

Cool, it sounds like #28 will cover my needs

@huandu
Copy link
Owner

huandu commented Apr 5, 2015

@cbroglie I've implemented debug mode in b7c0cf9. You can take a look and play with latest master code if you like.

When debug mode is turned on by setting fb.Debug = fb.DEBUG_ALL or session.SetDebug(fb.DEBUG_ALL), you can get DebugInfo from any graph api result. See DebugInfo and Result#DebugInfo document for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants