Hey, so I’m using oauth.io to handle my interactions with the twitter api, so it could be how they’re encoding the uri before sending. When I inspect the network traffic the request going out looks like this https://oauth.io/request/twitter/%2F1.1%2Flists%2Fdestroy.json%3Fowner_screen_name%<my_screen_name>%26slug%3D<my_list_slug> If the uri encoding was the problem, I’d expect all my other requests to be failing as well (the actual error message is {code: 34, message: "Sorry, that page does not exist."}). I’ve also validated that the list exists by going to my account and checking. Here’s the code snippet I’m expecting to work but doesn’t
var url = '/1.1/lists/destroy.json?owner_screen_name=' +
userCred.screen_name +
'&slug=' + result.slug;
oauthFactory.twitterConnect().then(function(authResult) {
authResult.post(url).then(function(result) {
deferred.resolve(result)
})
})
I got the owner_screen_name from the /1.1/account/verify_credentials.json api call, and the list slug from
```’/1.1/lists/list.json?screen_name=’ + screen_name + ‘&reverse=true’```` api call. I’m using the same oauthFactory calls for all of the requests.
Can you let me know if anything I’m doing seems off?
Thanks for the help so far!