Questions tagged [support]
You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.
858 questions
2
votes
1
answer
100
views
Answers without owners
Is it valid for Stack Overflow data to have an answer that does not have an owner?
For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
2
votes
1
answer
253
views
Using the API directly from JavaScript
Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
2
votes
1
answer
374
views
Error Using Stacky v1.0 Binaries in an Azure Worker Role
The following error is being thrown when calling the StackyClient.GetUser method from within an Azure Worker Role:
Method 'ReadJson' in type 'Stacky.UnixDateTimeConverter'
from assembly 'Stacky, ...
2
votes
1
answer
167
views
are clientaccesspolicy.xml and crossdomain.xml excluded from throttling
These files are requested by the user agent as needed and the programmer has no knowledge or control over these requests.
The abuse potential connected with these files is nil(?)
It seems that it ...
2
votes
1
answer
166
views
Maximum tag name length?
Does a maximum tag name length exist? Or it is just the "suggested size" with no hard limits? I'm trying to figure out how to best store them in a database.
2
votes
1
answer
139
views
What constitutes 'active participation' in the private API beta?
In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
2
votes
2
answers
106
views
Will I be able to update the (optional) application icon after registering an application?
The Register Your Application form allows for the (optional) submission of an application icon. Presumably this can be updated after registration via Manage API keys? I'd be surprised if not, of ...
2
votes
2
answers
292
views
Do I need API key to use StackAuth API?
StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request.
At this stage I am passing my API key just ...
2
votes
1
answer
359
views
Best way to calculate total badge count in Javascript?
I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries).
At first I naively added up the badge counts individually, but some user's have no badges....
2
votes
1
answer
176
views
How to filter getAnswersForUser by tag?
I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers.
Do I need to to register for an API key, or just use ...
2
votes
2
answers
144
views
Slow response times?
I'm working with the API, but I noticed requests are quite slow. Each request seems to take between 8-11 seconds. I timed different requests and the time doesn't seem to differ much between search and ...
2
votes
1
answer
225
views
Is there a way to use the API without using localhost or a web domain?
I'm developing an SO chrome extension in React with TypeScript.
I've been reading the guide on how to use the API with OAuth and it looks fantastic for what I'm trying to do.
The problem is that the ...
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
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
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
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
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
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
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
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
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:...