Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not send direct message #297

Closed
ZarchiMohammad opened this issue Jan 28, 2021 · 1 comment
Closed

Can not send direct message #297

ZarchiMohammad opened this issue Jan 28, 2021 · 1 comment

Comments

@ZarchiMohammad
Copy link

ZarchiMohammad commented Jan 28, 2021

I wrote this code:

ice_screenshot_20210128-173026

and give this error:
{"errors":[{"code":32,"message":"Could not authenticate you."}]}

My permissions: Read, write, and direct messages
Also i have this error on TwitterAPIExchange class:
PHP Warning: rawurlencode() expects parameter 1 to be string, array given in .../TwitterAPIExchange.php on line 325

What am i do?

@Schiocco
Copy link

Same issue (PHP Warning: rawurlencode() expects parameter 1 to be string, array given). It doesn't work for arrays of arrays as post_field (in Postman you need to send the array as plan text(raw) body), if I do the same via this class, the signature broken and the error is {"errors":[{"code":32,"message":"Could not authenticate you."}]}

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

No branches or pull requests

2 participants