Abraham Williams

Results 106 comments of Abraham Williams

https://pirateweather.net/

This is still an issue on v13.1.0 > ⚠ functions: failed to update function projects/hoverboard-master/locations/us-central1/functions/mailchimpSubscribe https://github.com/gdg-x/hoverboard/actions/runs/7965890164/job/21746222689

> Please understand and accept that master branch is nothing to do with `master`/`slave` principle This is incorrect. The term `master` in git is almost certainly based on the `master`/`slave`...

> server error 500 You need to enable server debugging and find out why there is a 500 error.

I don't know what that means.

Oh. I suppose that's possible. Twitter got rid of all the [put requests](https://developer.twitter.com/en/search-results?limit=10&offset=0&q=put&searchPath=%2Fcontent%2Fdeveloper-twitter%2Fen&sort=relevance) years ago. ![Image](https://github.com/abraham/twitteroauth/assets/3341/62192152-4771-46ec-9cb4-8e8c2613cc11) PUT looks like it's handled the [same as a POST for how it's constructued](https://github.com/abraham/twitteroauth/blob/106d0f92fb2143fff1a70dfe75932e9cb1b0faba/src/TwitterOAuth.php#L709-L727)....

I don't do much PHP development these days and don't plan on starting any new open source PHP projects.

I don't think Twitter let's people use the old v1 API anymore. Try the [v2 API](https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets). I think it would look something like: ```php $connection->setApiVersion('2'); // only needed if not...

I don't have any Twitter apps to validate snippets. https://github.com/abraham/twitteroauth/issues/1192#issuecomment-1673101978 is confirming that the following should work though. ```php $connection->setApiVersion('2'); $result = $connection->post("tweets", ["text" => $text], true); ``` Bearer tokens...

I would recommend posting to https://devcommunity.x.com/ regarding correct application configuration. Twitter seems to keep changing those.