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.

Posting Comments gives Missing 'text' #50

@saasbox

Description

@saasbox

I'm not able to post a comment to my own media. I'm getting the following error:

Larabros\Elogram\Exceptions\APIInvalidParametersError: Missing 'text'

$resp = $client->comments()->create($id, $comment); $data = $resp->get();

The parameters $id and $comment are filled with right data. Double checked that with var_dump.

Also i've done a var_dump of the parameters in different places in Elogram and I do see that the parameters are there.

CommentsRepository.php:50: array (size=1) 'form_params' => array (size=1) 'text' => string 'Awesome Porsche' (length=15)

But I'm still getting the Missing 'text' error.

I tried to manually and it posts just fine with the access_token, same media ID and same comment.

Anybody can help?

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