Closed kzu404 closed 4 years ago
function delete($id) { $url = 'https://api.twitter.com/1.1/direct_messages/events/destroy.json'; $requestMethod = 'DELETE'; $postfields = array( 'id' => $id); /** Perform a POST request and echo the response ***/ echo $twitter->buildOauth($url, $requestMethod) ->setPostfields($postfields) ->performRequest(); }
im trying to delete DM from someone but no response, can you help me to fix it? thanks
my bad its working now
im trying to delete DM from someone but no response, can you help me to fix it? thanks