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.
2
votes
1answer
81 views
StackApplet and AskUbuntu
Two questions:
1) Whenever one clicks on the "Ask Ubuntu" in the StackApplet's menu it opens http://askubuntu.com/users/recent/### (where ### is the user's id number), but there is no such page here.
...
2
votes
1answer
110 views
How to check if a given question is changed
What is the fastest way to check if a question is changed using the API calls?
For my purpose (a cache), a question is considered changed if:
A new comment is added to the question or to any of its ...
2
votes
1answer
135 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
1answer
83 views
Maximum tag name length?
Does this exist? Or it is again just the "suggested size" with no hard limits? Im trying to figure out how to best store them in a database.
2
votes
1answer
124 views
Why have recent dev-tip posts been forced into community wiki without explanation despite ongoing community self-regulation?
Preface
Please note that this question is neither about community wiki nor reputation, rather about acceptable moderation, (to stress that I've made it community wiki in itself). Therefore I need to ...
2
votes
2answers
148 views
How to calculate a list of users ranked by question score (votes sum) totals.
The API provides methods to sort and filter individual questions by score.
In order to calculate the question score (votes sum) totals per User, some grouping and set operations are required.
e.g.
...
2
votes
2answers
89 views
How to calculate a list of users ranked by question view count totals.
The API provides methods to sort and filter individual questions by view count.
In order to calculate the question view count totals per User, some grouping and set operations are required.
e.g.
...
2
votes
1answer
85 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
2answers
84 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
2answers
180 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
1answer
70 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
2answers
95 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
1answer
23 views
How do you trigger the search/advanced 'q' parameter to search all words?
When you search for “playa parents not working” on http://expressionengine.stackexchange.com, you’re brought to this URL:
http://expressionengine.stackexchange.com/search?q=playa+parents+not+working
...
2
votes
1answer
17 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 ...
2
votes
1answer
91 views
API returning character entities in JSON
I noticed display names in the JSON contain HTML character entities; e.g.
/2.0/users/718618?order=desc&sort=reputation&site=stackoverflow
Gives me:
{
"items": [
{
"user_id": ...
2
votes
1answer
50 views
Update the default filter editor to use the API key
When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of:
...
"quota_remaining": 9424,
...
2
votes
2answers
41 views
Why aren't my application icons being used in the “Top Apps” list?
I've got application icons listed for each of my apps, but the "Top Apps" list shows the default "pages with gears" icon instead.
Each time I've registered the application before posting a question ...
2
votes
1answer
36 views
User to de-authorise app?
The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication:
Is there a place for ...
2
votes
1answer
18 views
No views_per_day in /info route?
I'm not particularly crying over it, just curious why the views_per_day field was dropped?
2
votes
1answer
61 views
How to provide a logout button for authentication?
How would you provide a logout button for an app that uses authentication. (Not so that the user has to choose to accept or reject the app, that's deleting the app from their tab)
Basically force the ...
2
votes
1answer
65 views
Am I out of luck if my http client doesn't support gzip decoding?
I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this ...
2
votes
1answer
61 views
How do you get the association_id from the CC data dump?
I am working with StackExchange /users/ data and trying to get a user's "united" profile, to see what sites they're active in other than the queried site.
As an example: ...
2
votes
1answer
31 views
Better way to find activity changes in terms of API Usage
I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
2
votes
1answer
60 views
Does Lucene back the API search now?
With the announcement that Lucene is being used for site searches does it cover the API as well?
2
votes
1answer
63 views
Stack.PHP does not seem to work on sites that are sub-domains of stackexchange.com
The documentation explains to crate objects using the site's url minus the TLD which appears to work fine.
$service = new Post_Exchange('gamedev', null, 0);
returns what appears to be a valid ...
2
votes
1answer
125 views
Retrieve inbox notifications
Hi,
Is there a way to retrieve any notification that appears in the inbox of stackexchange? Or is there another technique to retrieve notifications on updates?
2
votes
2answers
153 views
SOAPI data fails on WP7
Im trying to simply get all of the recent questions using Windows Phone 7.
But I keep getting an ObjectDisposedException
My Code is not complicated:
public void BeginGetAllRecentQuestions()
{
...
2
votes
1answer
69 views
What exactly is the 'user' on a post_timeline?
What exactly is the 'user' on a post_timeline?
I am assuming that it is the user responsible for the action, if not the user, but I cannot be sure as the JSON structure used to document the results ...
2
votes
1answer
100 views
How to retrieve notifications for a given user.
There seems to be a few of these "dev-tips" so I'll share a problem I have.
To notify a user of comments directed to them, we use the users/{id}/mentioned method.
However, notifying a user of ...
2
votes
1answer
90 views
what is the url for a *.stackexchange site's api?
from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website
what would be the url for the api for one of these ? e.g. ...
2
votes
2answers
110 views
How to mimic search behavior of Stack sites?
I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this?
Filter by tags if all words (how exactly is this detected?) in the query are tags.
...
2
votes
3answers
102 views
Ideas for dealing with this pagination problem?
Okay, here is the problem:
Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on?
Any suggestions ...
2
votes
1answer
48 views
/users/{id} and /users/{id}/timeline - filter parameter?
Both /users/{id} and /users/{id}/timeline say they take a filter parameter for users' names, but it seems to do nothing. Are they not supposed to be there?
2
votes
0answers
17 views
How do I get the no. of upvotes a person has received for a particular tag?
I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't there is a direct query that will give me ...
2
votes
0answers
24 views
Client Side Flow security problem
I'm not pretty sure, but if my app is enabled to Client Side Flow Authentication, then anyone with my client ID (easily found for being embedded or by sniffing the initial request) would be able to ...
2
votes
0answers
28 views
Is it safe to change the OAuth Domain?
I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
2
votes
0answers
38 views
Clarification on related tags for a tag returned by API
I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following:
Returns the tags that are ...
2
votes
0answers
24 views
What to do with “OAuth Domain” in the registration page for a browser user script?
I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use.
My project is a browser userscript that works with ...
2
votes
0answers
40 views
edit-comment method returns 405 error
Trying to understand how edit-comment method could be used.
I passed valid token with write_access, valid key, and existed comment id, but all I've got is:
{
"error_id": 405,
"error_name": ...
2
votes
0answers
11 views
Using Stack2RSS, why can I get feeds for some SE sites and not others?
I can use Stack2RSS to easily get RSS feeds of some StackExchange sites but not others:
The pattern if I understand the API is http://stack2rss.stackexchange.com/{SiteName}/questions
Substituting ...
2
votes
0answers
22 views
How should we announce updates to our apps, scripts, libraries, etc?
Is there a recommended best way to let the stackapps community know that we've released an updated version of one of our projects?
We can edit the project's page and bump the version number, but this ...
2
votes
1answer
25 views
Is data retrieved from /events dependent on the access token used to retrieve it?
This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
2
votes
0answers
32 views
Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th
This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now.
Between 8 AM and 10 PM UTC December 29th, filters generated ...
2
votes
1answer
112 views
Where do I get UUID for fetching user's associations?
Yesterday (09/17/2011) I could go to my stackexchange site's profile page and grab UUID from the url:
I could use this UUID to fetch user's associations with stack exchange network. Now said URL ...
2
votes
0answers
17 views
FAQ's URL for any SE Site?
Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant):
Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0answers
42 views
How do I grab the CSV from a Data Explorer URL?
I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists.
My preferred way of getting the data would be a ...
2
votes
1answer
139 views
Which nested objects and arrays are optional?
I am handcrafting a JSON Schema for the API, and there is some meta missing from the nested 'returns' objects and arrays.
The relevant information I need is:
if it is an array, can it be undefined ...
2
votes
1answer
87 views
stackapps favicon inconsistent rendering
A lot of us are using the favicon in our apps as it is a quite convenient size.
It seems that IE does not like the stackapps favicon palette and renders the background black.
While I do cache the ...
2
votes
0answers
31 views
/users/questions with content is very latent
I am seeing response times of up to 30 seconds for a page of 100 questions.
http://api.stackapps.com/1.0/users/14/questions?answers=true&body=true&comments=true&page=1&pagesize=100
...
2
votes
0answers
103 views
How the apps-libraries will be judged for the contest?
Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
