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

Parameters for direct message on twitter #199

Open
pspatel opened this issue Nov 29, 2019 · 4 comments
Open

Parameters for direct message on twitter #199

pspatel opened this issue Nov 29, 2019 · 4 comments

Comments

@pspatel
Copy link

pspatel commented Nov 29, 2019

Hello There,

Error is occurring at line number 362 in tmhOAuth/tmhOAuth.php file. When we are sending the params as per the twitter new endpoints not able to use because an error occurred in the below code in prepare_params() function.

if (is_array($v))
$v = implode(',', $v);

Is there any way to set a multidimensional array or setting header type JSON in curl.

@atymic
Copy link

atymic commented Nov 30, 2019

Oh hey :)

I think i'll just fork this project in the short term, but were moving away from it in the next version anyway.

@atymic
Copy link

atymic commented Dec 1, 2019

Fork with PR merged here:
https://github.com/atymic/tmhOAuth

@themattharris
Copy link
Owner

themattharris commented Dec 1, 2019 via email

@atymic
Copy link

atymic commented Dec 1, 2019

Oh, my bad, I assumed this wasn't maintained anymore, sorry (by the unmerged PRs).
I'll nuke the fork if this is merged into master.

We're actually in the process of creating a modern twitter API client that is framework agnostic (similar to this library) so this PR is/was just a stopgap (as we currently extend this package).

https://github.com/atymic/twitter/tree/3.x

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

Successfully merging a pull request may close this issue.

3 participants