Highest scored questions
2,813 questions
1
vote
1
answer
403
views
How to use the stackapps API from JavaScript with XMLHttpRequest or XDomainRequest?
I had an idea for an app that required calling the stackapps API from JavaScript, but when I started prototyping it I quickly found out that the API does not allow cross origin requests. This means ...
1
vote
1
answer
92
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
1
vote
2
answers
89
views
Unanswered questions API does not work
The /questions/unanswered API returns the full list of questions (same as /questions).
1
vote
1
answer
166
views
questions/{id} API method: pagesize parameter?
I'm trying to get the lightest data about a given question id because i just need the question's title.
With this call:
http://api.stackoverflow.com/0.8/questions/1598715?pagesize=1
i get "pagesize":...
1
vote
1
answer
186
views
OAuth Domain can't satisfy redirect_uri AND Proxy url
Let's say I have an app called ExampleApp, with these details:
Client ID: 12345
Key: ThisIsTheKey123()
OAuth Domain: exampleapp.com
[√] Enable Client Side OAuth flow
[√] Disable ...
1
vote
1
answer
79
views
Why is no_expiry "strongly advised against"?
In the docs on user auth, it says
This request is responded to with either an error (HTTP status code 400) or an access token of the form access_token=...&expires=1234. expires will only be set ...
1
vote
1
answer
297
views
How to apply an access token in order to scrape the recommended answers?
I'm trying to scrape some data which needs the access token, and I received
'Applications must have a registered Stack Apps post to write'
Does that mean I need to post a question on Stack Exchange ...
1
vote
1
answer
5k
views
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error:
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
Here is my script:
...
1
vote
1
answer
85
views
Why does this minimal filter return no results at all?
I tried to create a 'minimal' filter
https://api.stackexchange.com/docs/questions#order=desc&sort=activity&filter=!34JvAEfIUyU-&site=stackoverflow&run=true
for the 'question' object, ...
1
vote
1
answer
95
views
How to get all communities a user is associated with?
Is there a way to get all Stack Exchange communities in which a user is active? I mean the list of communities that are displayed on a user's network profile.
1
vote
1
answer
73
views
How to get statistic data for specific tags which belong to a specific team?
I just want to get statistic data for specific tags which belong to a specific team.
For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...
1
vote
1
answer
190
views
App as Power Platform custom connector
Trying to create a connector for Microsoft's Power Platform in order for others to be able to create Power Apps and Power Automate workflows against Stack* data.
I need a post in order to get write ...
1
vote
1
answer
110
views
Can I ask questions about features and functionalities of the Stack Exchange Android App here?
Is the "Stack Apps" Stack Exchange site the appropriate site to ask questions about features and functionalities of the Stack Exchange Android App?
It says 'Apps' in the title, sure, but you'...
1
vote
1
answer
1k
views
Why am I getting a 400 Bad Request error with this code?
I'm using this code (in an async function):
let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&...
1
vote
1
answer
168
views
App post got deleted
I'm currently writing an app using the Stack Exchange API.
Today I wanted to rework the login component, but after signing in I get the following message:
Application must have a registered Stack ...
1
vote
1
answer
173
views
Will there be an official Stack Exchange application for Android?
I have really liked the experience on the various associated Stack Exchange sites and had the mobile application for Android until recently I switched mobiles and had to uninstall it. I also ...
1
vote
1
answer
4k
views
How can I use an iOS custom URL scheme as redirect_uri?
I am trying to implement OAuth using iOS URL schemes. For example if I provide myapp:// as redirect_uri the app should launch. However, I cannot add it as OAuth domain in the Stack Apps settings, as ...
1
vote
1
answer
81
views
Is there any way to get questions by tag with excerpt?
I'm checking how I can embed the search for one project. Basically I want something like this page.
With the search I can get the list of questions with all meta data from the search, however the ...
1
vote
1
answer
171
views
How can I write (edit) one of my answers?
I started to love the Python black formatter and I want all my code on Stack Overflow to be formatted like that. So I wanted to go over the answers and apply black / blacken-docs, check if anything ...
1
vote
1
answer
106
views
How can I the question detail page and add comments like the Stack Exchange app?
Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app?
I can't find the API to get them so far, so I decided to display the ...
1
vote
1
answer
284
views
How to get access_token from the uri after the fetch function executes?
I am using this snippet to authorize to the Stack Exchange API
const baseUrl =
"https://stackexchange.com/oauth/dialog?client_id=17823&scope=read_inbox,no_expiry&redirect_uri=https://...
1
vote
1
answer
101
views
Wrong sorting parameter in documentation for question/{ids}/answers
It looks like that in the question/{ids}/answers documentation, there is a mistake:
votes – score
Shouldn't this be
votes – votes
1
vote
1
answer
177
views
How can I fetch the answers posted in last week based on tags of the question?
I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
1
vote
1
answer
63
views
Where do I get the user impact?
I'm trying to get the data of the user's impact.
Therefore I used the /2.2/me route and did not found any of this data.
Is there any other route that gives this information?
I'm also missing the ...
1
vote
1
answer
125
views
How can I see how a Stack Apps summary looks for a particular app?
When using one of the templates (app/library/script) while writing a question here, the top of the post will contain some HTML comments:
<!-- thumbnail: https://example.com/some-image.png -->
&...
1
vote
1
answer
82
views
Stack Exchange API - What does "site_state" mean?
The /sites route can return site_state.
What does site state stand for and which values can it have?
The values I found:
normal
linked_meta
open_beta
1
vote
1
answer
413
views
How to register a Stack App with explicit OAuth 2.0 flow to a third party site?
I am about to integrate a Stack Overflow app to a third party website / integration service (Zoho).
The third party website's documentation mentioned that the redirect URL is https://deluge.zoho.com/...
1
vote
1
answer
158
views
Why am I getting an "Access token sent over non-HTTPS request, it has been invalidated" message?
I've been using the Stack Overflow for Teams API for a while now, but since yesterday it stopped working for one of the Teams; that Team also wasn't listed in the Applications (https://stackoverflow....
1
vote
1
answer
567
views
Is there a SQL-like query for the API?
I've looked at the API docs.
However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc).
Example: data....
1
vote
1
answer
119
views
Why doesn't the API return a 'locked date' for this locked answer?
This answer has been locked, yet when I ask the API about this post it fails to return a locked_date:
It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
1
vote
1
answer
113
views
The API is not returning a value that I know it should
My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:
/2.2/users/2855348/associated?types=meta_site;...
1
vote
1
answer
77
views
How to get visits per day via the API?
At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
1
vote
1
answer
79
views
What's the meaning about " is_answered" field of question object?
I saw the question object has a is_answered field.
I mentioned that there're the following cases:
The is_answered field is true, and the question has an accepted answer.
The is_answered field is true,...
1
vote
1
answer
67
views
Paging issue: is /users/{ids}/associated API route returning incomplete information?
When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
1
vote
1
answer
102
views
Do my users need to be logged in, for quota?
I am building an application and want to showcase relevant Stack Overflow questions. I have made the request and getting a response, but its responding with a quota value:
"quota_max": 300,
"...
1
vote
1
answer
660
views
oauth 2.0 based on stackexchange api and fetch user details
I am new to oauth 2.0. What i am trying to achieve is following
I have a google api based oauth authentication in place
On top I fetch the gmail email address and verify if this address is present in ...
1
vote
1
answer
145
views
Stack API doesn't return json with encoding of UTF-8
Here is the query
RESULT
{
"items": [
{
"badge_counts": {
"bronze": 2,
"silver": 1,
"gold": 0
},
...
1
vote
1
answer
349
views
access_token not present in /oauth/access_token response
When using the explicit OAuth authentication for apps, I have problems receiving the access_token. A user goes to /approve and is then forwarded to approve the app. When redirected back to my site I ...
1
vote
1
answer
154
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 (...
1
vote
1
answer
105
views
How to sort /questions/featured by bounty_closes_date
The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
1
vote
1
answer
175
views
Blur the topbar’s background
This stylesheet will make the background of the topbar show a blurred version of the contents below it. Note that I was unable to make the search box transparent (the icon was invisible), and I couldn’...
1
vote
1
answer
119
views
Absence of `order` and `sort` in rest calls?
Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
1
vote
1
answer
2k
views
Unable to decode HTML entities in the API response?
I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working.
I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
1
vote
1
answer
154
views
I want a python program example for more requests a day
How can I make about 10k requests on
https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow
using python program in a day. Where J is variable and ...
1
vote
1
answer
61
views
The API /tag stats are notably different from the site totals
Why this discrepancy?
--Sep 10 2015 11:26:09 GMT+0530 (IST)--
At that time, the API shows 42010 tags.
But the same thing computed on the Stack Overflow tags page is 44496.
Is it because of caching?
1
vote
1
answer
134
views
Stack Exchange API for getting list of users from iOS 8
I am trying to call the Stack Exchange API to get a list of users. This is from my iOS app:
NSString *str=[NSString stringWithFormat:@"http://stackexchange.com/oauth/2.2/users?order=desc&sort=...
1
vote
1
answer
135
views
How do I get the body of an answer, as well as the author? [duplicate]
I am using this call to get the body of an answer :
http://api.stackexchange.com/2.2/questions/5877753/answers?order=desc&sort=activity&site=stackoverflow
But this only gives the author of ...
1
vote
1
answer
624
views
400 (Bad Request) error in time of creating question using StackExchange API
I am trying to create a question in StackOverFlow using write-access API(https://api.stackexchange.com/2.2/questions/add). I have provided the parameters as required but a "400(Bad Request)" error is ...
1
vote
1
answer
69
views
How do I update redirect_uri param for a StackExchange App [duplicate]
I've created a StackExchange app but now I cannot find the edit page so I can update the app settings, like:
redirect_uri - which is an OAuth param
1
vote
1
answer
78
views
I could POST a question but it does not have a `question_id` and it does not show up in my account
I could successfully create a question for my StackApp and I got this response (NSDictionary output):
{
"has_more" = 0;
items = (
{
"creation_date" = ...