DEV Community

Discussion on: How to change Twitter Source Label

Collapse
blancoharsh profile image
Harsh #34

great tutorial but I have a question, what if i have to reply ny specific tweet using the app, is there ay to do that?

Collapse
sunilaleti profile image
Sunil Aleti Author • Edited

Thanks, we can reply but we need to modify the code for that

Collapse
arzikielt profile image
arzikiel tenebris

sorry im kinda retard, can you give me an example? because it didn't work on me (i'm new to this)

Collapse
blancoharsh profile image
Harsh #34

Do you have the code for that? That would be very helpful

Thread Thread
sunilaleti profile image
Sunil Aleti Author • Edited

instead of using
api.update_status(status =(tweet))
use api.update_status("your reply", in_reply_to_status_id = tweetid)

Thread Thread
blancoharsh profile image
Harsh #34

ok but what if i want to reoky to a specific tweet?

Thread Thread
sunilaleti profile image
Sunil Aleti Author

Copy the link of the tweet

Ex: twitter.com/AndroidPolice/status/1... and last "1308397020034420736" is the tweet id

Thread Thread
blancoharsh profile image
Harsh #34

Thank You so muchπŸ™

Some comments have been hidden by the post's author - find out more