Skip to content

Invalid Response, please check call parameters #7

@LaoWu89

Description

@LaoWu89

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();
        }
    });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions