Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A question about the Stack Exchange authentication process and related API methods.
3
votes
Accepted
Accessing the Stack Exchange API not on behalf of an user?
You only need to use OAuth if you are trying to add or modify data (including votes). If you want to do that, your app must log in as a user, no exceptions.
If you just want to read or search data, …
6
votes
Accepted
OAuth procedure for standalone user?
Refer to the API Authentication doc page, where it says:
explicit grant (is) for server side applications
Also, see What is the difference between the 2 workflows? and related questions. … When the authentication is successful, the access_token will be in the location.hash of the redirected page. …
1
vote
Accepted
"client_id rejected" error when retrieving the access_token
That error means that you've used an invalid id or that the settings on your app page are incorrect.
Do the following:
Go to Your Apps page. You should see your app listed. If it is not, then reg …
1
vote
Accepted
Is developing, with the Stack Exchange API, possible on my local machine?
One caveat is that the Stack Exchange authentication methods currently don't seem to handle non-standard ports very well (there are some bug reports about this). …
4
votes
Accepted
Can not request info after OAuth
Your second call must be https:.
You actually got an error like:
"error_id":406,
"error_message":"Access token sent over non-HTTPS request, it has been invalidated",
"error_name":"access_token_co …
2
votes
Accepted
Same access token between different fetch_token requests
Yes, each time you invoke stackexchange.com/oauth/ you will get a fresh access token, even though old ones may still be valid.
For example:
Go to /me/inboxLivedoc and hit Get Token twice, recording …
3
votes
Accepted
iOS Client for stackoverflow always throws redirect_uri not a valid uri
That error means either that you've misconfigured the app or that the authentication call is incorrect.
Note that stackexchange.com/oauth/login_success is not a valid redirect_uri irregardless. … You probably want/need to use Client side (Implicit) authentication, in which case the redirect_uri would be:
https://stackexchange.com/oauth/login_success
Note the mandatory https://. …
1
vote
Accepted
Is it okay to just send the API key (without implementing oauth-2 login)?
See the Authentication docs for more info.
The issue you are having with has_more is unrelated and is a known, current, bug. …
1
vote
What token parameters to use for OAuth2 Authorizaton?
What software are you using?
Anyway, for a Desktop app, you almost always use the "Implicit" (Client side) procedure.
Configure your Stack app as shown in this answer.
That dialog appears to be set …
2
votes
Accepted
No 'Access-Control-Allow-Origin' for oauth/access_token
The question is not clear enough.
You appear to be trying to use jQuery to do explicit OAuth from a web page. If so, this is not allowed.
Explicit OAuth is for servers. You are not running that c …
3
votes
Accepted
Cannot get redirect_uri to work
See this answer on Meta Stack Exchange for framework code and an example of using authentication with a userscript. …
2
votes
Accepted
How to use /me to display my profile data in StackExchange API?
For read requests, you must send the token (and key) in the URL. For example:
https://api.stackexchange.com/2.2/me?site=stackoverflow&key=dp55hR5Wr9UhOJReA6F2gg((&access_token=26nor26ZCVN4y5vn94Zg(w) …
1
vote
0
answers
70
views
The authentication doc gives a wrong domain for authentication
The authentication doc page now lists URL's like:
https://stackoverflow.com/oauth
https://stackoverflow.com/oauth/access_token
etc. …
0
votes
"text/plain" content type header for x-www-form-urlencoded content?
The question is either not completely clear or a duplicate. You may need to post an MCVE.
According to the OAuth 2.0 Authorization spec (RFC 6749), section 5.1:
The parameters are included in the ent …
11
votes
Accepted
Unable to get access token
Refer to the Stack Exchange API, Authentication docs. It looks like you are trying to authenticate using either a server you do not control, or a local server that is not on the public internet. … When the authentication is successful, the access_token will be in the location.hash of the redirected page. …