Can't reply to a specific tweet with the correct id_str
Hello i've already seen the other issues concerning this problem but didn't manage to correct it anyway... I can not manage to reply to a specific tweet, instead it just tweets on my profile. The 'id_str' is the right one, i checked it with T.get(statuses/show/.......) and the tweet is shown. Also the type of 'id_str' is a string so i definitely don't understand why it doesn't answer to the tweet.
Here is my code if that can help !
Thanks in advance
function gotData(err, data, response)
{
var tweets = data.statuses;
var name = tweets[0].user.screen_name;
var id_str = tweets[0].id_str;
console.log(id_str); //prints the correct ID
console.log(typeof id_str); //returns string
T.post('statuses/update',{
in_reply_status_id : id_str,
status : '@' + name + ' blablabla',
}, check);
}
I am facing the problem, I tried in_reply_to_status_id and in_reply_to_status_id_str also, but it didn't help. Tried passing tweet id both as integer and string, but no help.
Do any of you was able to find a solution for this? Please let me know.
I'm sorry to say that but i've dropped this idea :/ So no I never found a solution to this problem...
For anyone still looking, according to Twitter docs you need to have the username of the tweet you're replying to at the front of your status text OR pass auto_populate_reply_metadata: true
auto_populate_reply_metadata: true
it saved me