I was using https://vidyocreatetoken.appspot.com/ for generating token and by html parsing i get the token inside app just to check my app is working fine.
But now i have to implement server for generating tokens and i don't know much about this, can anyone guide me?