jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
776 stars 234 forks source link

help/configuration #264

Closed lifeboatpres closed 2 years ago

lifeboatpres commented 3 years ago

$reply = (array) $cb->help_configuration();

is now giving me:

Array ( [httpstatus] => 200 [rate] => Array ( [limit] => 15 [remaining] => 11 [reset] => 1619402027 )

)

What happened to the regular output of this resource?

chrisminett commented 3 years ago

I'm now getting HTTP 410 Gone for this endpoint, although others still seem to work fine for my app.

According to Twitter error docs, 410 should indicate a resource which is no longer available: https://developer.twitter.com/en/support/twitter-api/error-troubleshooting

However I can't see any mention of this endpoint being deprecated: https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/configuration/api-reference/get-help-configuration

(I don't think this is an issue with Codebird, but a Twitter access/API/deprecation problem)

edent commented 3 years ago

This API has been retired. See https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/configuration/overview