I use the following methods to get status updates from multiple users.
public void getUserFeed(long userID, RequestListener listener) {
long time = System.currentTimeMillis();
Bundle params = new Bundle();
params.putString("uid", userID + "");
params.putString("fields", "statuses");
asyncFacebookRunner.request(FRIENDS, params, listener);
}
public void getFeedsForUsers(List<User> facebookUsersInFeed,
final RequestListener listener) {
for (final User user : facebookUsersInFeed) {
getUserFeed(user.getId(), listener);
}
}
Most of the time, this works fine. But every now and then, I get a response in which the data array is completely empty. Any ideas?
The most likely reason is because that specific user has blocked 3rd party apps from accessing their data, therefore, when you try to fetch their info it will return empty.