We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i tried using this for https://developer.twitter.com/en/docs/labs/hide-replies/api-reference/put-hidden with this
$settings = array( 'oauth_access_token' => $Data['AccessToken'], 'oauth_access_token_secret' => $Data['AccessTokenSecret'], 'consumer_key' => $Data['ConsumerKey'], 'consumer_secret' => $Data['ConsumerKeySecret'] ); $url = 'https://api.twitter.com/labs/2/tweets/'.$Data['StatusID'].'/hidden'; $requestMethod = 'PUT'; $postfields = array( 'hidden' => true ); $twitter = new TwitterAPIExchange($settings); $dotwitter = $this->twitter->buildOauth($url, $requestMethod)->performRequest(true, [ CURLOPT_HTTPHEADER => array('Content-Type:application/json'), CURLOPT_POSTFIELDS => $postfields ]);
but the response i get was {"title":"Unauthorized","type":"about:blank","status":401,"detail":"Unauthorized"}
{"title":"Unauthorized","type":"about:blank","status":401,"detail":"Unauthorized"}
how can i use this for Twitter Labs API?
The text was updated successfully, but these errors were encountered:
Since this endpoint expects a JSON body, you might need to apply this patch for it to work.
Sorry, something went wrong.
No branches or pull requests
i tried using this for https://developer.twitter.com/en/docs/labs/hide-replies/api-reference/put-hidden with this
but the response i get was
{"title":"Unauthorized","type":"about:blank","status":401,"detail":"Unauthorized"}
how can i use this for Twitter Labs API?
The text was updated successfully, but these errors were encountered: