In this i have to insert the link of the thread which i want it to be liked and i think TWITTER HAS THE SAME SYSTEM so take the code and then tell your users that if they want their threads to be posted to twitter enter the code and add the link of your thread on the code and save the thread again.THIS WILL GET YOU THE TWITTER BUTTON AND IF ANYONE CLICKS ON IT THEN IT WILL SHOW UP ON TWITTER.