Performing Token Swaps?

Hi Guys,
Am i able to perform token swaps by interacting directly with contracts via Luaswap Router?
I have tried using the same code as I use with Uniswap but I constantly receive an error:

Fail with error “TransferHelper: TRANSFER_FROM_FAILED”

I have both TOMO and WTOMO in my wallet so no issue with fees or funds