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

Posting Comments gives Missing 'text' #50

Open
saasbox opened this issue Apr 17, 2017 · 2 comments
Open

Posting Comments gives Missing 'text' #50

saasbox opened this issue Apr 17, 2017 · 2 comments

Comments

@saasbox
Copy link

saasbox commented Apr 17, 2017

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?

@ruairidhwm
Copy link

Getting the same error.

@hassankhan
Copy link
Member

Sorry, I don't really have time to maintain this project since I don't do a lot of PHP any more. If someone could make a PR, I'd be happy to merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants