create an app (on the My Apps tab) to get the ID's.
Specify this address in the \"Redirect URI:\" field: #URL#

To enable access to mailboxes, add this address to the "Redirect URI" field:"; ?>