Is there any API or something which can detect the abbreviation and return its full form. For example : returns “Laugh out loud” for “lol”; returns “I don’t know” for “idk”.
This sounds like a general purpose programming question rather than anything related to the Twitter API. I’d Google for Java libraries that can convert abbreviations in text (given you tagged this with Twitter4J)
Cool