J'ai du mal à faire en sorte que Twitter supprime un statut en utilisant la bibliothèque PHP OAuth.Twitter OAuth Supprimer le problème
J'utilise cette même méthode pour la publication (OAUTH_TYPE_FORM et OAUTH_HTTP_METHOD_POST), et cela fonctionne bien.
Voici mon code pour les reques Supprimer:
$oauth = new OAuth($twitter['CONSUMER_KEY'], $twitter['CONSUMER_SECRET'], OAUTH_SIG_METHOD_HMACSHA1, OAUTH_AUTH_TYPE_FORM);
$oauth->setToken($access_token['oauth_token'], $access_token['oauth_token_secret']);
$oauth->fetch("http://api.twitter.com/1/statuses/destroy/".$delete_id, NULL, OAUTH_HTTP_METHOD_POST);
Je continue à recevoir une erreur 401. Toute aide s'il vous plaît conseiller :)