Highest scored questions
2,813 questions
2
votes
1
answer
96
views
Tagged parameter not working as described in documentation
In the documentation it is reported that the tagged parameter in the request URL should work like this:
tagged - a semicolon delimited list of tags, of which at least one will be present on all ...
2
votes
1
answer
62
views
Writing question API failing with error 407
I'm trying to use https://api.stackexchange.com/2.3/questions/add method
payload = {
'site': 'stackoverflow',
'title': title,
'body': body,
'tags': tags,
'key': key,
'...
2
votes
1
answer
214
views
Main Stack Exchange network site API
The original Stack Exchange app has this cool feature where you can browse hot question from the entire network.
But at the current state I am not able to see a “Stack Exchange” site listed in the ...
2
votes
1
answer
127
views
Download data for specific tag
How to download all the data just for a specific tag (say
[compiler-error])?
On Stack Overflow, there are around 19000 questions tagged with [compiler-error].
So, I was hoping is it downloadable w.r.t ...
2
votes
1
answer
2k
views
Obtain the list of questions associated to answer_ids without losing the information of which question comes from which answer_id
This is a follow up to a previous question of mine, and the starting point is that, given a list of reputation objects retrieved via /users/{ids}/reputation, I can easily retain only the entries with ...
2
votes
1
answer
103
views
Using StackEx as a prefix for the name of my app?
According to trademark guidance:
[...] Including one of the terms, "Stack" or "Exchange" or "Overflow" in your product name is generally okay.
I'd like to use "...
2
votes
1
answer
62
views
Discrepancy in results size
I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword.
My code iterates over all result pages by increasing the &page=N parameter while '...
2
votes
1
answer
95
views
Bugs in API 2.2 "/search/advanced" with a "q" parameter
How can we handle these problems?
Result for sort=relevance&order=desc is similar to
sort=relevance&order=desc.
Very poor caching system: After some queries, you may receive the same
results ...
2
votes
1
answer
189
views
How to get all tags' descriptions from the Stack Exchange API directly?
I know I can get one tag description by request such as "https://api.stackexchange.com/2.2/tags/tag_name/wikis?site=dba".
But if I use it more than hundreds of times, I will get a ...
2
votes
1
answer
208
views
How do I add a comment to a post through the Stack Exchange API?
I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
2
votes
1
answer
216
views
Why can I not authenticate my application? Application is not allowed to request implicit grants
I created a placeholder. PLACEHOLDER - Disco Application I created an application and added placeholder. I followed https://stackoverflow.com/oauth/dialog?client_id=19204&redirect_uri=https://...
2
votes
1
answer
125
views
How are API changes announced?
How are API changes announced? Are emails sent out to developers, or is there someplace I can subscribe to?
2
votes
1
answer
238
views
What does it mean when a revision number is missing?
I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.
I have a colleague who swears ...
2
votes
1
answer
290
views
Request for user script to calculate Wilson confidence ratings for posts
I came across the following blog post on the Internet recently: How Not to Sort by Average Rating:
PROBLEM: You are a web programmer. You have users. Your users rate stuff on your site. You want to ...
2
votes
1
answer
106
views
Can I get the question id in the inbox route?
My intended behavior of my app is to navigate the user the the question page when an inbox item gets clicked.
For example, when the API return a link like this
https://stackapps.com/questions/8515/...
2
votes
1
answer
92
views
After which time span can my vote no longer change?
I came across a toast that appears when I try to change my vote that I made a few days ago.
Is it documented somewhere after which time span you can no longer change your vote? Or does the API ...
2
votes
1
answer
371
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
2
votes
1
answer
180
views
Comment History Checker - See comment score and your deleted comments at a glance
Comment History Checker ( install ) (github)
This is a userscript which saves all comments you post into a local database (IndexedDB). When you want to review them, go to your profile's ...
2
votes
1
answer
2k
views
How to get access token from the hash?
I am trying to implement OAuth Stack Exchange API via Android app as client.
After a successful login from out I get the below URL how do I get or decode the access_token from the hash?
https://...
2
votes
1
answer
122
views
"Javascript" typo on documentation pages
On page Usage of /sites, it should be JavaScript, not Javascript, in the right sidebar:
This obviously also applies to (most/all) API documentation pages, since they share the sidebar.
2
votes
1
answer
155
views
Can I make a Private Application?
I wish to access the API from a purely internal application; no visible app to the public, no promotion, no OAuth. That seems impossible via the key registration form; am I missing something?
2
votes
1
answer
143
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
96
views
Get everything touched by a user?
I'm trying to figure out the best way to compile all "post threads" (Questions and all related Answers and Comments) where a specific user owns any of the {Question, Answer or [a comment on either the ...
2
votes
1
answer
81
views
Exclude records where field is present (ie., return only open questions)
How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)?
Example:
Results for Closed questions include field closed_date=1234567890.
...
2
votes
1
answer
116
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 ...
2
votes
1
answer
95
views
How to Create a Multi-tag URI Request to /questions
Just want to confirm if I'm doing this right. The /questions guide doesn't mention this.
Let's say I want to ask for multiple tags in one request, am I doing this right?
https://api.stackexchange....
2
votes
1
answer
107
views
Using the API for one-off batch jobs
I'm considering using the API for a retag job not supported by existing tooling as per this meta post (of course, I'll make sure the community supports the effort before going forward).
I'm planning ...
2
votes
1
answer
101
views
How do I get information about top users of a Stack Exchange community?
I was going through the stack exchange API and I want to extract information about, say, top 20 users of a particular stack exchange community. How do I use the API for that?
I tried on this page ...
2
votes
1
answer
220
views
Keep getting 500 "Internal error" in requests with an access token
I'm trying to fetch some data from the Stack Exchange API
I have a valid access_token and registered key but I keep getting internal error as a result.
Here is the request URL:
https://api....
2
votes
1
answer
200
views
Stack Exchange login hangs on Windows 10 Mobile?
I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile).
I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
2
votes
1
answer
120
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/#...
2
votes
1
answer
147
views
Can I change my profile picture using the API version 2?
I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
2
votes
1
answer
127
views
Get users based on location? [duplicate]
I want to get site users by their location but I don't see any method for that.
And it's not possible with a filter either.
Is there any way to get users based on location or is it not possible?
2
votes
1
answer
146
views
Is there a script to make Stack Exchange sites use the full width of the browser?
All the Stack Exchange sites are designed to take up a width of 1000px or less. Can this be expanded to have the content always try to take up all available horizontal space?
2
votes
1
answer
82
views
The `top_questions` field shows outdated information?
I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
2
votes
1
answer
164
views
Posting question using StackExchange API [duplicate]
I created one app to post questions to Stack Exchange Websites. While checking in doc page of my application, i.e., https://api.stackexchange.com/docs/create-question, the question is posted. If I do ...
2
votes
1
answer
98
views
Obtain JSON equivalent of a full Q&A HTML page?
I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
2
votes
1
answer
219
views
"client_id rejected" error when retrieving the access_token
I'm developing an application in C# and I to post questions, so I need an access token.
I registered my application and I have received a client ID. Then I get the following query-string to get the ...
2
votes
1
answer
276
views
C# Stackexchange Questions API [duplicate]
I need to build an web application C# and below is what I'm stuck with
Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose.
I wish to get the ...
2
votes
1
answer
183
views
Differences between versions 1.x and 2.x of the Stack Exchange API?
I had written a Java Wrapper for the Stack Exchange API, version 1.x, Which was working perfectly.
But, since 12 May 2014, services for version 1.x have been shutdown and my Wrapper stopped working.
...
2
votes
2
answers
325
views
How to set the width of an image in the body of a question?
I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
2
votes
1
answer
264
views
Message Notification App for AskUbuntu and/or StackExchange
I was wondering if there is any way to get notified in due time when someone replies to my posts/comments on AskUbuntu.com or StackExchange.com, other than via email notifications.
What I have in ...
2
votes
1
answer
106
views
Is there support for Unicoins in the StackExchange API?
I would like to integrate Unicoins into my StackExchange Palm OS app. I'm using API v2 but I don't see any documentation. http://blog.stackoverflow.com/2012/02/stack-exchange-api-v2-0-no-longer-beta/...
2
votes
1
answer
133
views
AttributeError with Py-StackExchange
i'm trying to execute this python script :
#! /usr/bin/python
import stackexchange
so = stackexchange.Site(stackexchange.StackOverflow)
my_favourite_guy = so.user(41981)
print my_favourite_guy....
2
votes
1
answer
93
views
Advanced search API not returning data for "phonegap" tag
I am trying to gather results from the API for the tag phonegap but the API is not returning any data.
I am using /search/advanced and get nothing back for November:
{
"items": [],
"...
2
votes
1
answer
179
views
V2.1 API body HTML has unclosed li tags
The Stack Exchange API (with a safe filter) is returning question body content with malformed HTML, specifically <li> elements that do not have closing tags (and no valid parent).
I've seen ...
2
votes
1
answer
87
views
Tags missing when fetching from API filtered by dates
I'm experimenting with the API, trying to get the tags used in the last month on Stack Overflow, and it seems like some tags are missing. For example, I don't get anything for "jquery":
http:...
2
votes
1
answer
70
views
Can the API support per-item questions?
What I'm seeing so far is that the API is for a site-wide collection of questions.
Can someone use the API to decorate a website's products or articles with questions and answers (on a per-item ...
2
votes
1
answer
181
views
Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?
This is the query I want to run:
/2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
2
votes
1
answer
141
views
Not possible to login to approve or reject access to application on Windows Phone 7 device
I'm making an app for Windows Phone using the Stack Exchange API but I'm having a bit of trouble when I try to let the user approve the application (using client side flow).
I open a web browser at ...