Skip to content

Instantly share code, notes, and snippets.

@jmw511
Created January 6, 2015 19:32
Show Gist options
  • Save jmw511/5e4d932f4e2b68563daf to your computer and use it in GitHub Desktop.
Save jmw511/5e4d932f4e2b68563daf to your computer and use it in GitHub Desktop.
FacebookGraphResponse
type FacebookGraphResponse struct {
Data []GraphResponseData `json:"data"`
Error Error `json:"error_msg"`
ErrorMessage string `json:"error_msg"` // If a serious problem occurs facebook will return a different format of error message
ErrorCode int `json:"error_code"`
Paging struct {
Cursors struct {
Before string `json:"before"`
After string `json:"after"`
} `json:"cursors"`
Next string `json:"next,omitempty"`
} `json:"paging"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment