Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Error when posting to comments API #41

@albertleao

Description

@albertleao

When posting to 'media/'.$post_id.'/comments' I get the following error:

Type: Larabros\Elogram\Exceptions\OAuthForbiddenException

Message: Invalid signed-request: Signature does not match

I have attempted making the call using:

$instagram->secureRequests();
$instagram->comments()->create($post_id, $this->input->post('text'));

or

$instagram->secureRequests();
$function = 'POST';
$endpoint = 'media/'.$post_id.'/comments';
$params = ['form_params' => $params];
$instagram->request($function, $endpoint, $params);

All my GET requests are working fine. I also make a POST request to likes and that is working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions