Implementing Oauth 2.0 for google API

Implementing Oauth 2.0 for google API

I'm trying to access a Google API and need to use Oauth 2.0 to do so. I think I can use posturl to request the authorization code, but Oauth 2.0 requires a Callback url to send it to. How can I do this?

Thanks
Joe