so i am using "grant_type": "authorization_code", but i have to add code manually from browser is there any better way? and more access code validity.?
Yes. You can use this