-
Notifications
You must be signed in to change notification settings - Fork 151
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
getTestUsers implementation to manage paging #76
Merged
Merged
Commits on Jan 9, 2015
-
age_range comes as part of the public_profile permission, it indicates unspecific age range that this person's age fits into. values: min-max: (13-17 / 18-20 / 21-null) usage: Facebook facebook = new FacebookFactory().getInstance(); facebook.setOAuthAccessToken(new AccessToken(facebookToken, null)); User me = facebook.getMe(new Reading().fields(new String[] {“age_range”, "birthday", "email", … }));
Configuration menu - View commit details
-
Copy full SHA for 2ad97a9 - Browse repository at this point
Copy the full SHA 2ad97a9View commit details
Commits on Jan 11, 2015
-
getTestUsers implementation to manage paging
new version of method getTestUsers /** * Returns test users associated with a particular app. * This method manage paging, call facebook.fetchNext to get next page * @param appId the ID of the app * @param limit number of elements per page (can be null to use default page size) * @return Test Users first page * @throws FacebookException when Facebook service or network is unavailable * @see <a href="https://developers.facebook.com/docs/test_users/">Test Users - Facebook Developers</a> */ ResponseList<TestUser> getTestUsers(String appId, Integer limit) throws FacebookException; usage: ResponseList<TestUser> testUsersResponseList = facebook.getTestUsers(appId, limit); Paging<TestUser> paging = testUsersResponseList.getPaging(); testUsersResponseList = facebook.fetchNext(paging);
Configuration menu - View commit details
-
Copy full SHA for 56bc630 - Browse repository at this point
Copy the full SHA 56bc630View commit details
Commits on Jan 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 81c9e21 - Browse repository at this point
Copy the full SHA 81c9e21View commit details
Commits on Jan 13, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 0ccdfe0 - Browse repository at this point
Copy the full SHA 0ccdfe0View commit details -
getTestUsers implementation to manage paging
new version of method getTestUsers (include test: TestUserMethods) /** * Returns test users associated with a particular app. * This method manage paging, call facebook.fetchNext to get next page * @param appId the ID of the app * @param limit number of elements per page (can be null to use default page size) * @return Test Users first page * @throws FacebookException when Facebook service or network is unavailable * @see <a href="https://developers.facebook.com/docs/test_users/">Test Users - Facebook Developers</a> */ ResponseList<TestUser> getTestUsers(String appId, Integer limit) throws FacebookException; usage: ResponseList<TestUser> testUsersResponseList = facebook.getTestUsers(appId, limit); Paging<TestUser> paging = testUsersResponseList.getPaging(); testUsersResponseList = facebook.fetchNext(paging);
Configuration menu - View commit details
-
Copy full SHA for cbf648c - Browse repository at this point
Copy the full SHA cbf648cView commit details
Commits on Jan 14, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 331fb41 - Browse repository at this point
Copy the full SHA 331fb41View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.