Highest scored questions
2,813 questions
3
votes
1
answer
170
views
Is it possible to register V2.0 apps that are not web apps?
I want to register an app that will use the V2.0 API here: https://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name.
What can I possibly ...
3
votes
1
answer
438
views
How do I get a GreaseMonkey/UserScript to interact with the Live Preview?
I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
3
votes
1
answer
2k
views
Invalidating access token vs de auth app?
Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1
answer
185
views
Has anyone *implemented* the Stack Exchange API on top of a public database dump?
It seems that the public database dumps contain nearly all of the data required to respond to API queries.
Has anyone implemented the API, backed by a copy of the public database dump?
It would be ...
3
votes
1
answer
347
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
3
votes
1
answer
97
views
Throttling Question
Hey all,
I keep getting kicked out of the API.
Is throttling set to 30 requests per 5 seconds?
j
3
votes
1
answer
109
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 ...
3
votes
1
answer
225
views
Getting Question data using stack.PHP fails after a certain number of requests
I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer.
I am running into an issue where I'm sending too many requests and ...
3
votes
2
answers
473
views
Stacky JSON error
I'm trying to use Stacky to grab a question from Stackoverflow, however I always an error. The error thrown is:
JsonReaderException was unhandled -
Unexpected character encountered while parsing ...
3
votes
1
answer
135
views
Eligibility for the competition?
I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
3
votes
3
answers
229
views
Negative voting questions?
I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO.
I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
3
votes
1
answer
120
views
Can we merge the 'library' and 'wrapper' tags?
There seems to be some fragmentation amongst the tags assigned to wrappers/libraries. Some have library, some have wrapper, and some have both.
If I'm not mistaken, they are the same thing. Can we ...
3
votes
1
answer
79
views
Differentiate Staging Ground posts from regular questions
Version 2.3 of the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it ...
3
votes
1
answer
108
views
Where is it acceptable to store an access_token?
Obviously it isn't safe to broadcast any access_token to the public, especially those which are defined with no expiry date. It would also be considered a security issue if a list of registered access ...
3
votes
1
answer
73
views
How do I search answer bodies for Markdown links?
The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
3
votes
1
answer
103
views
When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?
I'm using the Questions Advanced Search API to retrieve Stack Overflow questions with a specific tag that were created in the last 15 minutes.
I've written a script which runs every fifteen minutes ...
3
votes
1
answer
102
views
Moving the New Feed Items box to the bottom right
I've created a simple script to move the New Feed Items box to the lower right to avoid it from hiding the chat history:
Installation:
Just copy the following code in Tampermonkey/GreaseMonkey:
// ==...
3
votes
1
answer
125
views
When I perform an API call via browser, it displays pretty JSON. How come when I do the same request via nodejs in my console it is garbled? [duplicate]
If I browse to https://api.stackexchange.com/2.2/search?site=stackoverflow&tagged=racket via Chrome, it displays a bunch of JSON containing the appropriate content. But when I run the following ...
3
votes
1
answer
128
views
How to query the Stack Exchange API using an OR operator?
I want to query Stack Exchange by title including optional keywords (one of).
How can I query by OR operator?
For example:
/search/advanced?page=1&tagged=java&q=title:http OR class&...
3
votes
1
answer
113
views
Cannot get redirect_uri to work
This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
3
votes
1
answer
130
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 ...
3
votes
1
answer
2k
views
Implicit OAuth flow puts the access token in the hash?
The implicit OAuth flow puts the access token in the hash.
However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
3
votes
1
answer
416
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 ...
3
votes
1
answer
136
views
Why do you need to specify a site when getting the inbox?
I'm getting a user's inbox via /me/inbox. I am forced to specify a site with this, so I'm setting it to Stack Overflow. However, it still gets all my notifications, including those from other sites. ...
3
votes
1
answer
71
views
Reputation_change has the historical total rather than the daily delta?
I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has:
{
on_date: 1447018487,
...
3
votes
1
answer
44
views
Top answers for a tag is returning user details?
I am expecting top answers for a particular tag here. But it returns user details.
Is anything wrong here?
Using:
/2.2/tags/java/top-answerers/all_time?site=stackoverflow
3
votes
1
answer
92
views
`body` of `inbox_item` returning only excerpt, not full body
I have run /inbox/unread function. It returns a list of inbox_items.
The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item.
According to ...
3
votes
1
answer
111
views
What does `total` in the /notifications route represent?
What does total in /notifications represent?
I ran it.
The result was items in Common Wrapper Object was array of 24 items where as total was 4.
3
votes
1
answer
148
views
Help with javascript SDK configuration
The following problem is REAL! All names have been changed to protect the innocent.
I have a site at "http://Something.github.io/MyRepository/Directory/index.html"
And I have my app configured like ...
3
votes
1
answer
106
views
Invalid HTML characters in questions bodies
While writing an Android App that shows questions from the SE network, I've noticed that the SE REST API returns invalid HTML characters; after a bit more of researching I've found it's not the API ...
3
votes
1
answer
130
views
Question's body rendering in Android's webview
I've developed an app that get questions from Stack using REST APIs and shows them in a WebView. My problem now is that the body often contains placeholders that must be "replaced" with the real ...
3
votes
1
answer
70
views
How do display names relate to at-mentions?
Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies).
At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
3
votes
1
answer
115
views
Can I retrieve the API interfaces via the API?
I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it?
This isn't just for curiosity's ...
3
votes
1
answer
106
views
How to get a list of sites that a user is a member of?
After spending many hours trying to post a question using /questions/add and repeatedly getting the error message "The account associated with the access_token does not have a user on the site", I ...
3
votes
1
answer
328
views
Does the API key need to be kept secret?
For a project of mine, I need to know if I need to keep the API key secret or not.
If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and byte-...
3
votes
1
answer
428
views
"OAuth request must be over HTTPS" when request is over https
I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error:
error: invalid_request
error description: OAuth request must be over ...
3
votes
1
answer
568
views
Receiving error "Unexpected domain on proxy URL"
I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose.
I am stuck on the point of authenticating the user. I followed the ...
3
votes
1
answer
178
views
Inbox item not marked as read after viewing [duplicate]
Accessing inbox items using the following url:
/me/inbox
Unread inbox items remain unread (is_unread = true) even after that specific item has been read using the API (v2.1).
The items are marked ...
3
votes
1
answer
81
views
Problem with /search tagged and max
Seems like a problem with /search when max is not set to today, and tagged is given:
https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
3
votes
1
answer
129
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
3
votes
1
answer
65
views
Querying "standard meta tags" for their tag wikis wrongly says they have none
I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence.
But ...
3
votes
1
answer
130
views
Given that stackapps has no "meta" is it OK to ask "discussion questions" with no "one right answer" here?
Sometimes I want to ask questions about using the API that don't necessarily have "one right answer" or might be subjective.
I've looked in the chat room but it's not very active.
I've looked for a ...
3
votes
1
answer
62
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1
answer
390
views
Java wrapper for the Stack Exchange API 2.0?
I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
3
votes
1
answer
62
views
tagged and min max creation gives wrong total
I am trying to get the total number of question with a specific tag AND created within a specific date span.
For example, the number of questions tagged as 'java' created between 16 and 17 Jan 2012:
...
3
votes
1
answer
96
views
Is there a meta api?
Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
3
votes
1
answer
139
views
Hot questions (network)
Would it be possible to get an API method for the stackexchange hot questions list?
Something like an official version of this: http://stackexchange.com/genuwine
Second to this would be knowing how ...
3
votes
1
answer
77
views
Events: field request
The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could).
...
3
votes
1
answer
57
views
Site categories in API?
Would it be possible to have a category field added to the site object. Eg Technology, Culture, etc. The sites seem to already have categories, as you can see on this page: https://stackexchange.com/...
3
votes
1
answer
83
views
"Authentication Statistics" graph y-axis labels are overly granular
Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...