Plugin broken with twitter atm (php7.4)
-
I tried contacting the devs on their website, but after clicking to submit my bug report, the page stalls and nothing happens, I have no idea if that message was sent.
So, just in case, I’m also reporting the bug here. If someone has had that same problem and knows how to fix it, you’re most welcome to share ??
So.
Context: debian buster, wordpress 6.0.1, php 7.4.30. MySQL version: 10.3.34-MariaDB-0+deb10u1-log. Latest nextscript autoposter plugin as provided by WordPress’s updates.
Clicking the “post now” SNAP autoposter menu under my post, I was greeted with this error message:
Array ( [pgID] => [isPosted] => 0 [pDate] => 2022-08-19 23:54:42 [Error] => Array ( [headers] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [date] => Fri, 19 Aug 2022 23:54:42 UTC [server] => tsa_f [set-cookie] => guest_id=v1%3A166095328259635040; Max-Age=34214400; Expires=Tue, 19 Sep 2023 23:54:42 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None [api-version] => 2.49 [content-type] => application/json; charset=utf-8 [cache-control] => no-cache, no-store, max-age=0 [content-length] => 304 [x-access-level] => read-write [x-frame-options] => SAMEORIGIN [content-encoding] => deflate [x-xss-protection] => 0 [x-rate-limit-limit] => 3000 [x-rate-limit-reset] => 1660953985 [content-disposition] => attachment; filename=json.json [x-content-type-options] => nosniff [x-rate-limit-remaining] => 2996 [strict-transport-security] => max-age=631138519 [x-response-time] => 104 [x-connection-hash] => 7731bc55d4a4d354b712219d196f6d15a734213295c522223e375400e263be8a ) ) [body] => {"client_id":"764912","detail":"When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.","registration_url":"https://developer.twitter.com/en/docs/projects/overview","title":"Client Forbidden","required_enrollment":"Standard Basic","reason":"client-not-enrolled","type":"https://api.twitter.com/2/problems/client-forbidden"} [response] => Array ( [code] => 403 [message] => Forbidden ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => guest_id [value] => v1:166095328259635040 [expires] => 1695167682 [path] => / [domain] => twitter.com [port] => [host_only] => ) ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => Requests_Response Object ( [body] => {"client_id":"764912","detail":"When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.","registration_url":"https://developer.twitter.com/en/docs/projects/overview","title":"Client Forbidden","required_enrollment":"Standard Basic","reason":"client-not-enrolled","type":"https://api.twitter.com/2/problems/client-forbidden"} [raw] => HTTP/1.1 403 Forbidden date: Fri, 19 Aug 2022 23:54:42 UTC server: tsa_f set-cookie: guest_id=v1%3A166095328259635040; Max-Age=34214400; Expires=Tue, 19 Sep 2023 23:54:42 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None api-version: 2.49 content-type: application/json; charset=utf-8 cache-control: no-cache, no-store, max-age=0 content-length: 304 x-access-level: read-write x-frame-options: SAMEORIGIN content-encoding: deflate x-xss-protection: 0 x-rate-limit-limit: 3000 x-rate-limit-reset: 1660953985 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-rate-limit-remaining: 2996 strict-transport-security: max-age=631138519 x-response-time: 104 x-connection-hash: 7731bc55d4a4d354b712219d196f6d15a734213295c522223e375400e263be8a connection: close {"client_id":"764912","detail":"When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.","registration_url":"https://developer.twitter.com/en/docs/projects/overview","title":"Client Forbidden","required_enrollment":"Standard Basic","reason":"client-not-enrolled","type":"https://api.twitter.com/2/problems/client-forbidden"} [headers] => Requests_Response_Headers Object ( [data:protected] => Array ( [date] => Array ( [0] => Fri, 19 Aug 2022 23:54:42 UTC ) [server] => Array ( [0] => tsa_f ) [set-cookie] => Array ( [0] => guest_id=v1%3A166095328259635040; Max-Age=34214400; Expires=Tue, 19 Sep 2023 23:54:42 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None ) [api-version] => Array ( [0] => 2.49 ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [cache-control] => Array ( [0] => no-cache, no-store, max-age=0 ) [content-length] => Array ( [0] => 304 ) [x-access-level] => Array ( [0] => read-write ) [x-frame-options] => Array ( [0] => SAMEORIGIN ) [content-encoding] => Array ( [0] => deflate ) [x-xss-protection] => Array ( [0] => 0 ) [x-rate-limit-limit] => Array ( [0] => 3000 ) [x-rate-limit-reset] => Array ( [0] => 1660953985 ) [content-disposition] => Array ( [0] => attachment; filename=json.json ) [x-content-type-options] => Array ( [0] => nosniff ) [x-rate-limit-remaining] => Array ( [0] => 2996 ) [strict-transport-security] => Array ( [0] => max-age=631138519 ) [x-response-time] => Array ( [0] => 104 ) [x-connection-hash] => Array ( [0] => 7731bc55d4a4d354b712219d196f6d15a734213295c522223e375400e263be8a ) ) ) [status_code] => 403 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://api.twitter.com/2/users/me [history] => Array ( ) [cookies] => Requests_Cookie_Jar Object ( [cookies:protected] => Array ( [guest_id] => Requests_Cookie Object ( [name] => guest_id [value] => v1%3A166095328259635040 [attributes] => Requests_Utility_CaseInsensitiveDictionary Object ( [data:protected] => Array ( [max-age] => 1695167682 [expires] => 1695167682 [path] => / [domain] => twitter.com [secure] => 1 [samesite] => None ) ) [flags] => Array ( [creation] => 1660953282 [last-access] => 1660953282 [persistent] => [host-only] => ) [reference_time] => 1660953282 ) ) ) ) [filename:protected] => [data] => [headers] => [status] => ) ) )
Well, this is it for the bug report. No intention to complain, I'm thinking it may help, to the contrary.
Cheers!
- The topic ‘Plugin broken with twitter atm (php7.4)’ is closed to new replies.