node-twitter
node-twitter copied to clipboard
Does Third party authorized application have access to private tweet? i have issue with user timeline api.
The user timeline API neither return protected tweets nor proper error message.
client.get('statuses/user_timeline', tparam, function (error, tweets, response) {
if (error) {
console.log("error : " + JSON.stringify(error)); // error: {}
// i am getting error here {} with status 200
} else {
// data
}
});
- if the Protect your tweet is true in setting i am getting status 200 with error {}.
- if the protect your tweet is false in setting i am getting status 200 with tweets.
i also tried it using Postman , i get
{"request":"\/1.1\/statuses\/user_timeline.json","error":"Not authorized."}
and if any other error come it give error with code and message for example.
{"errors":[{"code":32,"message":"Could not authenticate you."}]}
why it's not giving such in my case?