All Questions
236 questions
4
votes
1
answer
288
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
1
vote
0
answers
257
views
/oauth/access_token not redirecting back to my redirect_uri
I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code:
<?php
if(isset($_GET['code']))
{
?>
<form method="...
5
votes
1
answer
734
views
Is it possible to authenticate a user through Stack Overflow API?
Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID?
If it's possible: Can you tell me the method (s) that make this happen?
2
votes
1
answer
102
views
The new implicit authentication dialog doesn't handle comma-delimited scopes
The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
18
votes
0
answers
119
views
Add a dedicated bot login to Stack Apps
When dealing with chat bots, especially those like SmokeDetector, you'll often want to log in directly from the code. The problem? There's no easy way to do this, especially now that Open ID is being ...
1
vote
1
answer
2k
views
How to login programmatically on Android?
I think my question is not a duplicate of this one: How to login programmatically
I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
2
votes
0
answers
57
views
List /network-activity methods under Network Methods in the documentation
The API methods /users/{id}/network-activity and /me/network-activity, both return a summary of a user's activity across the Stack Exchange network and do not take a site parameter.
They are ...
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.
While these seem to work, the correct domain is stackexchange.com, ...
7
votes
1
answer
719
views
OAuth procedure for standalone user?
Background:
I will be using the Stack Exchange API to make queries to stack overflow for a list of questions along with their details for a particular month etc for analysis purposes.
So this would be ...
4
votes
1
answer
185
views
“Try It” URL has wrong URI
On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name:
For example, on docs/similar, the URL displayed will be:
https://api....
4
votes
1
answer
158
views
How to use /me to display my profile data in StackExchange API?
So I'm able to use API calls like:
https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow
to display a list of questions. This is easy as it ...
2
votes
1
answer
63
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
2
votes
1
answer
63
views
What does "in practice" mean here?
From /answers/{id}/delete:
In practice, this method will never return an object.
For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...
3
votes
1
answer
174
views
Difference between `/inbox/unread` & `/me/inbox/unread`
I ran /inbox/unread & /me/inbox/unread.
What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
2
votes
1
answer
109
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
2
votes
1
answer
173
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
2
votes
1
answer
69
views
What are the top level question & answer localized flag_option titles?
For the SE API, the endpoints dealing with flags (e.g. /questions/{id}/flags/options) return the flag_option type. However, the option_id values are explicitly stated as being unstable, but it's ...
2
votes
0
answers
48
views
Spelling mistake in API Documentation's "Authentication" page
Can you find the spelling mistake in "Unregistered Users" (last section) of the Authentication page?
In case you're not in the mood for games, here is it:
This is actually a correct spelling - of ...
7
votes
1
answer
261
views
DSS: Facilitating API authentication for desktop apps
desktop-stack-serv
Auth server for desktop applications authenticating with the Stack Exchange API.
What?
The Stack Exchange API enables applications to get data about Stack Exchange sites or
users....
5
votes
1
answer
320
views
Is there an offline copy of the API documentation?
I'm trying to find a way to get all the information in the API in one printable PDF,
complete with the examples given in the documentation.
Is there anyway I can do this?
3
votes
1
answer
103
views
Accessing the Stack Exchange API not on behalf of an user? [duplicate]
I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use.
However, the Authentication documentation says I'd need to use the OAuth 2.0 ...
4
votes
0
answers
57
views
OAuth Dialog has all content positioned off-screen
When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
3
votes
1
answer
391
views
iOS Client for stackoverflow always throws redirect_uri not a valid uri
I tried to use the Stack Exchange API to authenticate the user.
I have registered my app with redirect_uri as stackexchange.com/oauth/login_success.
But it always throws "redirect_uri is not a valid ...
1
vote
1
answer
6k
views
How to programmatically retrieve the access_token from client-side OAuth flow?
I'm making an application in C# and I need to both search and post answers, so I need an access token.
I found some information, libraries, and code pieces:
The authentication guide for the Stack ...
5
votes
1
answer
130
views
Typos on api.stackexchange.com/docs/js-lib
Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine):
scope (optional) – an array of scopes to request during authentication, valid ...
-4
votes
1
answer
147
views
How to pass the api client credentials for stackexchange api in python [duplicate]
I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys.
My problem is,...
3
votes
2
answers
335
views
What am I allowed/not permitted to do with the API?
I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
5
votes
1
answer
119
views
Access token keeps being invalidated
For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason.
We aren't requesting new tokens (which would invalidate ...
0
votes
1
answer
156
views
What token parameters to use for OAuth2 Authorizaton?
I'm trying to connect a piece of desktop software to the Stack Exchange web service through OAuth2. I've read the docs but the problem is that what it talks about is subtly different to what ...
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
4
votes
0
answers
164
views
Can we specify more than one OAuth Domain?
I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code.
Chrome provides an identity API for OAuth2, and so does ...
4
votes
1
answer
2k
views
API Implicit Authentication with Python
I am working on an desktop inbox notifier for StackOverflow, using the API with Python.
The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
2
votes
0
answers
64
views
Does a user only need to log in once to access all sites?
When I use stack exchange sites on my desktop web browser, I log in once using stack exchange ID and then when I navigate to sites I don't belong to, it automatically associates me with the new site. ...
5
votes
1
answer
125
views
API docs titled "v2.0"; should be "v2.1"
The documentation is titled "StackExchange API v2.0"... this should be updated to "v2.1" as it's not readily obvious that version 2.1 has been published otherwise.
https://api.stackexchange.com/docs
1
vote
1
answer
132
views
What license is the Stack Exchange API released under? MIT?
Are there any license requirements the Stack Exchange API?
Which license is it released under?
If I were to develop an app, would I have to credit Stack Exchange API?
12
votes
1
answer
362
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
3
votes
1
answer
328
views
Same access token between different fetch_token requests
TL;DR:
Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same?
Scenario:
An anonymous user authenticates with Stack ...
6
votes
0
answers
72
views
Docs say the API returns a user's age, but it doesn't (anymore)
The doc page says that the user object returns an age property (for those users that specified an age).
But the API no longer does. (Plus spot checks of users that had age in ...
16
votes
1
answer
450
views
Bug in the StackExchange Api ? getting "could not parse proxy url" when user not logged in
I think I may have stumbled upon a bug in the Stack Exchange JS API
I'm having a problem getting its authentication to work properly, and I just discovered that the same problem exist in the official ...
1
vote
1
answer
144
views
Is it okay to just send the API key (without implementing oauth-2 login)?
I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
2
votes
0
answers
224
views
Stackoverflow Javascript Authentication error
Using the Stack Overflow javascript authentication API, I get this error:
Application Login Failure An error occurred while login into an
application.
Error Details
error description: ...
2
votes
0
answers
35
views
.wrapper not sorted correctly in filter edit popup
When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end):
...
3
votes
1
answer
120
views
top-answerers / top-askers documentation bug: number of results returned incorrect
The top-answerers-on-tags and top-askers-on-tags documentation claim:
Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.
and
Returns the top 30 askers ...
2
votes
1
answer
108
views
Authentication uses # instead of `?`?
I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly!
For example:
https://example.com/#...
4
votes
1
answer
338
views
Login using Google fails saying OpenID 2.0 accounts for Google has gone away
Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
5
votes
1
answer
142
views
Two minor typos in the API help
In http://api.stackoverflow.com/0.8/help
/users/{id}/answers Gets answer summary informatino for the user with 'id'.
and in the Returns section of http://api.stackoverflow.com/0.8/help/method?method=...
18
votes
1
answer
278
views
Accessing Authenticated User's Close/Delete History
I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
9
votes
1
answer
1k
views
How to see which users upvoted a question?
I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
3
votes
1
answer
78
views
How many ids is 'too many'?
This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere.
Now, I could run binary search and find out, but I ...
5
votes
0
answers
124
views
"What is meta" should be rephrased
Stackapps.com/help/whats-meta tells that there is "Meta Stack Apps". However there isn't.
Stack Apps is its own meta and meta is used to ask meta questions here.