-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi, I am getting this error "Invalid Response, please check call parameters" every time when I login my Instagram at the first time and call getMediaForUser right after login, but the second time I call getMediaForUser is working.
private void getInstagramPhoto() {
InstagramEngine.getInstance(getActivity()).getMediaForUser(new InstagramAPIResponseCallback<ArrayList>() {
@OverRide
public void onResponse(ArrayList responseObject, IGPagInfo pageInfo) {
addInstagramPhoto(responseObject);
if (progressBar1.getVisibility() == View.VISIBLE)
progressBar1.setVisibility(View.GONE);
}
@Override
public void onFailure(InstagramException exception) {
Toast.makeText(getActivity(), "Error: retrieving media from Instagram failed",
Toast.LENGTH_LONG).show();
}
});
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels