codebird-php icon indicating copy to clipboard operation
codebird-php copied to clipboard

oauth_requestToken() and PHP 7.3

Open DrewMasci opened this issue 5 years ago • 3 comments

It's taken a little while to work out but PHP 7.3 seems to always return a server error with this function.

I'm uncertain if it's any other function but the status from twitter is always 500. PHP 7.2 works perfectly fine so I assume there's a dependency that isn't listed and needs to be set up for 7.3 that's natively a part of 7.2.

DrewMasci avatar Sep 01 '19 21:09 DrewMasci

Any help with this appreciated, and we're ready to update ze docs accordingly

mynetx avatar Sep 01 '19 21:09 mynetx

I'm now getting the issue with PHP 7.2 as well... I'm left unsure why I'm getting these 500 errors. Could be something Twitter's side.

DrewMasci avatar Sep 02 '19 15:09 DrewMasci

Just found out that If your callback_url is incorrect you will get an httpstatus error 500 message when calling POST oauth/request_token. Also take a look at these comments I found for you…

https://twittercommunity.com/t/intermittent-failures-for-request-and-access-tokens/72424

From: Drew [mailto:[email protected]] Sent: Monday, September 02, 2019 11:06 AM To: jublo/codebird-php Cc: Subscribed Subject: Re: [jublo/codebird-php] oauth_requestToken() and PHP 7.3 (#254)

I'm now getting the issue with PHP 7.2 as well... I'm left unsure why I'm getting these 500 errors. Could be something Twitter's side.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jublo/codebird-php/issues/254?email_source=notifications&email_token=ABVG5TPKDJJQMXAXSFUWQV3QHUTWDA5CNFSM4ISYC73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WBY3A#issuecomment-527178860 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABVG5TL5G37JSCQL6I6GNALQHUTWDANCNFSM4ISYC73A . https://github.com/notifications/beacon/ABVG5TOT3E5MUFJJ5LFBZ7DQHUTWDA5CNFSM4ISYC73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WBY3A.gif

xx461037 avatar Sep 03 '19 03:09 xx461037