I want to create an application to read Stack Overflow notifications on my device.
My question: what should I provide in the
OAuth Domain and
Application website fields while registering the application?
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.Sign up to join this community
If you need something for personal use, it doesn't really matter. You can even use
example.com, as long as the site doesn't redirect and change the URL. You'll need a browser and a tool like curl. Insert the client ID of the application in the URL below:
This will redirect you to
https://example.com/?code=[CODE] (note: the code ends with two closing parentheses which are part of the code).
Then, use that code (and the client ID and secret)
curl -d "client_id=[CLIENT ID]&client_secret=[CLIENT SECRET]&code=[CODE]&redirect_uri=https://example.com" -X POST https://stackoverflow.com/oauth/access_token
which will give you a response with your access token as follows: