Error 86 with twitcurl library in C++


#1

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: https://twitter.com/CatalinCraciun/status/556788103227387905

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: ";
cin>>id_raw;
string id = id_raw;
twit.destroyStatusMessage(id);

Any suggestions? Thanks in advance.


#2

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