Created
January 6, 2015 19:32
-
-
Save jmw511/5e4d932f4e2b68563daf to your computer and use it in GitHub Desktop.
FacebookGraphResponse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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