Error 86 with twitcurl library in C++


Hello, I want to delete tweets from a C++ terminal app with twitcurl but I get this error saying: This method requires a POST, code 86. There aren’t any problems at authentication so that part is working fine. This is the URL to the tweet I want to delete:

When calling the statusDestroyById() function with the argument “556788103227387905” it simply throws this error. This is the code doing that:

char id_raw[40];
cout<<endl<<endl<<"Enter id: ";
string id = id_raw;

Any suggestions? Thanks in advance.


Did you fix this? I am having the same problem.