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.
863
questions
6
votes
0
answers
169
views
How to get the count of a query efficiently
To get the count of a query without returning results, simply specify pagesize=0.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
"...
5
votes
2
answers
290
views
Can I apply the API Key first and do the application later?
I don't have an application to submit at the moment, but can I apply the key first?
5
votes
1
answer
112
views
How to get total visited days and consecutives of an user?
I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
5
votes
2
answers
250
views
How can I introduce my Stack Overflow app to other users?
Recently, I created a project to manage and extract questions from Stack Overflow and convert those to PDF docs. I put it on GitHub.
I think this project could be improved and could be very helpful ...
5
votes
3
answers
335
views
Is there a way to programmatically access chat?
I'm thinking about starting a project where I'd like to have access to the "chat" feature of the stack exchange sites. I saw this project: IRC access for the chat?
But I don't believe that it works ...
5
votes
1
answer
2k
views
What is the syntax for specifying parameters?
How do I specify a parameter in the URL?
http://api.stackoverflow.com/0.8/questions works as expected.
Then I would like to pass parameter body with a value of true (that is available according to ...
5
votes
2
answers
446
views
Getting started: /users/{id} [duplicate]
I am trying to get the amount of reputation that a user has. I have established that I need to use this url: https://api.stackexchange.com/2.1/users/1272330?order=desc&sort=reputation&site=...
5
votes
3
answers
160
views
Injecting HTML Into A Stackexchange Site
I am writing an application that injects some HTML into the page. I was wondering what the policy is for this. Is it ok or generally frowned upon?
5
votes
2
answers
480
views
The API Key does not work
I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
1
answer
127
views
Getting questions with multiple tags
http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but https://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And http://...
5
votes
1
answer
396
views
How to increase app request quota from 300 to 10,000?
In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((:
Pass this as key when making requests against the Stack Exchange ...
5
votes
1
answer
323
views
How to use Stack Exchange WebSockets?
I am developing a Visual Studio Extension where I would be knowing about the activity on my posts. I found out that wss://qa.sockets.stackexchange.com is used for this purpose. Can somebody help me in ...
5
votes
1
answer
108
views
404 "This Method cannot be called this way" when getting user's inbox
I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items.
However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
5
votes
1
answer
67
views
Possible to get a user's flag history?
Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag?
I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
5
votes
1
answer
107
views
Moderation request: Flags unhandled for months, please approve
Note that Stack Apps is its own meta site.
Sorry for nagging the mods, but I have flags that have sat in the "active" state since June 29th, and these flags apparently don't expire.
Can a moderator ...
5
votes
1
answer
97
views
How do I know what apps on my stackexchange account I have already authorized?
I'm developing an app using the stackexchange oauth, I want to revoke my permissions to this app for testing the overall process, but I can't find which apps I have authorized.
5
votes
1
answer
74
views
Difference between stackauth URLs
On stackauth theres:
stackauth.com/sites
stackauth.com/1.0/sites
Which one should be used (bearing that yesterday the one with the API version was unavailable)
5
votes
1
answer
166
views
What timezone is used in the API?
When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds?
To get the current time to pass as ...
5
votes
1
answer
117
views
Is there a userscript to put links to Teams back in the left nav?
Teams are moving to their own domain and as such, my freemium team where I keep some useful-for-work knowledge has now disappeared from the left nav, which annoys me.
I'm looking for a userscript that ...
5
votes
1
answer
113
views
What is the latest version of the Stack Exchange API?
What is the latest version of the Stack Exchange API and its release date?
The document which I referred is for v2.3.
5
votes
1
answer
85
views
How to include answers when fetching questions?
I made a small cron job which crawls questions and answers from Stack Overflow.
Here is my request URL:
https://api.stackexchange.com/2.2/questions?order=desc&tagged=php&site=stackoverflow&...
5
votes
1
answer
194
views
Get the Authenticated User's email?
We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
5
votes
1
answer
90
views
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?
If I have the ID of a user from any site, how can I get that's user's ID for a site I specify?
Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow?
I know I'd ...
5
votes
1
answer
67
views
Which reputation events are private?
I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history)
and Stack Overflow's description of how reputation is calculated.
But, I can't find ...
5
votes
1
answer
331
views
Why am I being told to backoff when I'm well within my API limit?
I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff.
I only run the app once a night and don't really pull that much data. I ...
5
votes
2
answers
140
views
Prefered way to retrieve all search results
I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size).
Looking at ...
5
votes
1
answer
725
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?
5
votes
1
answer
139
views
How to read (get feeds of) different Stack Exchange networks
I follow multiple networks in Stack Exchange where I select Hot/Week/Month to see what I missed.
This is a bit time consuming since I have to switch and click to each one instead of having it ...
5
votes
1
answer
2k
views
Permission to link to Stack Overflow webpages from my app?
Update: My problem has now been resolved. I've added details at the bottom of this post.
I wrote a little Android app (Stack Flower) that allows customized searches of Stack Overflow. If the user ...
5
votes
1
answer
104
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 ...
5
votes
1
answer
111
views
Is there a way to specify how long I want an access token to be valid for?
I am following the explicit authentication path. I am not passing no_expiry as part of the scope.
After the final POST step, I receive back an expires value of 86399 (just shy of a full day).
It ...
5
votes
1
answer
87
views
Is it possible to have no sorting - to just show results in order of inputted IDs?
I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with.
So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
5
votes
1
answer
147
views
The StackWrap4J java wrapper gives nothing but `JSONException`s?
I'm using the StackWrap4J java wrapper for the Stack Overflow API.
But every code I try, that uses methods of this java wrapper, ends with this JSONException:
net.sf.stackwrap4j.json.JSONException: ...
5
votes
1
answer
93
views
Using OR with featured questions
My question is similar to: Getting questions that have a specific tag or tags?
What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:
...
5
votes
1
answer
315
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?
5
votes
1
answer
116
views
What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?
In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
5
votes
1
answer
134
views
Do the terms "key" and "access_token" refer to the same thing?
I'm trying to get my head around all the limits and throttles but some terminology is confusing me:
If an application does not have an access_token, then the application shares an IP based quota ...
5
votes
1
answer
513
views
How to register application for API implicit authentication?
I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...
5
votes
2
answers
2k
views
API compliant request throttle implementations
Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling.
This post is meant to be a repo ...
5
votes
1
answer
94
views
What is the rational behind the chosen /sites styling info?
I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information.
"styling": {
"link_color": {
...
5
votes
1
answer
290
views
How to solve bad_parameter error?
I'm trying to make the Stack Exchange API request using the key provided by Stack Apps. But whenever I try it always throws the below error.
{'error_id': 400, 'error_message': "key doesn't match a ...
5
votes
1
answer
82
views
Can you access a user's tag reputation/score via the API?
Is it possible to retrieve a user's tag specific reputation/score via the API? If not, is it possible to make an API call that returns enough information that you can calculate the value?
5
votes
1
answer
55
views
Do calls on the 1.1 API and the 2.0 count against each other's limits?
Do the old 1.1 API and new 2.0 share limits?
Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
1
answer
2k
views
Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop
I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)).
It seems ...
5
votes
0
answers
117
views
Moderation request: Make [user] a synonym of [users]
Please make user a synonym of users.
I proposed a synonym but there aren't enough high-rep users active here for that mechanism to work.
Currently*:
user has 5 questions, no tag wiki and no tag ...
5
votes
0
answers
222
views
localhost API key receives Curl error when retrieving access token
I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
5
votes
0
answers
91
views
Looking for an application which alerts about new questions under a particular topic
I've installed StackApplet, but it only tracks the reputation of a particular user.
Is there an application which tracks new questions under a particular topic, and notifies (in system tray) when ...
5
votes
0
answers
61
views
How can I get the "follower" count for a given tag on a site?
One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
5
votes
0
answers
519
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
4
votes
1
answer
350
views
Strange encoding for JSON output
I'm trying to create an R API. Here's some basic code for processing JSON:
library(rjson)
fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F))
As I look into this, the output of ...