Twitter integration SmartApp

Hey guys, i want to know how difficult it would be to integrate the twitter api with smartthings, to do things like “turn on this light when i tweet this hashtag” , etc could it be posible and how are could it be? im a developer but havent started learning groovy/smartthings yet :smile:

(i know i can use ifttt, but i wanted a direct way of doing it)