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
1
vote
2
answers
82
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 ...
1
vote
1
answer
122
views
How to control vote count for individual user?
How do I find if user has already voted for a particular question/answer?
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 ...
0
votes
1
answer
72
views
How do I get a filter to let through the fields I specify?
I've created a filter based on the "none" filter with include fields for all those I will need for my application. While the filter I created looks fine to me, it doesn't appear to return any results ...
5
votes
0
answers
91
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 ...
2
votes
1
answer
84
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 ...
1
vote
1
answer
65
views
Questions returned by /questions/{ids}/related do not contain link properties
The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all.
Is there some sort of workaround to find the link for a ...
4
votes
1
answer
130
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
0
answers
59
views
Better Call /me maybe?
I am using implicit OAuth 2.0 flow, hence requesting for a token first.
Now when I want to know which user has logged in, I have to make request to /me endpoint to get all of the data about the user, ...
4
votes
1
answer
78
views
API 'search' method with 'min' parameter
If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:
http://api.stackoverflow.com/1....
1
vote
2
answers
81
views
Link field on notification type
There is no link field on notification. Is this by design or a bug? If it's by design can it be changes so it's included, I can't see how to build the URL with only a post id, and not know what type ...
1
vote
0
answers
62
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 ...
0
votes
1
answer
65
views
Same redirect URL for Approve and Reject
Why, when I'm requesting /oauth/dialog and selecting either of the options I get redirected to the same URL with different hash values? It's not a bug per-se, just an observation I made while ...
4
votes
0
answers
67
views
Why does adding fromdate=<long time ago> return a different set than without it?
I've been trying to get some stats for the Windows 8 challenge over on Super User. I've noticed that there are some questions missing if I add fromdate=0. Why is this?
Without fromdate:
http://api....
1
vote
1
answer
119
views
api performance slow
this query takes ~30 seconds. Seems abnormal to me
http://api.stackapps.com/1.0/users/14/questions?pagesize=100&answers=true&body=true&comments=true&page=1
3
votes
1
answer
110
views
How to generate a list of users ranked by bug report submissions.
The use case is to generate a list of bug report submissions, grouped by User, of the following counts in descending order:
bug
bug + status-completed
bug + status-deferred
bug + status-bydesign
...
0
votes
1
answer
102
views
What characters won't be in question->body?
This might seem kinda strange, but what printable ASCII characters am I guaranteed not to find in the body member of a question / answer?
1
vote
1
answer
60
views
How can I get beta sites to show on StackApplet (v1.5.1)
I installed StackApplet v1.5.1 and it works fine, although the refresh time of 5 mins minimum is a bit slow. However, I have an account in Robotics which is in beta state.
How can I get notifications ...
2
votes
1
answer
87
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 object (...
1
vote
1
answer
49
views
Does the API allow us to pull down a user's subscriptions?
When I joined the site, I found that I could subscribe to hear about new posts within my favorite tag/filter. I started receiving daily emails with the latest posts in those categories. I can't find ...
2
votes
1
answer
82
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?
1
vote
1
answer
109
views
last_activity_date meaning on /questions route
I would like to add a cache layer to my app for questions, answers and comments.
The last_activity_date parameter on /questions route seems a valid candidate (probably the only way available)
The help ...
1
vote
1
answer
46
views
User on main site, also on meta?
If a user has an account on one of the stack exchange site, I thought they had an account on it's Meta site.
This doesn't seem the case in the associated users API route for one user (that's all I'...
0
votes
1
answer
70
views
Make API query to only one Stack Exchange site
Is there a way to limit a /search or a /similar query to a specific site or sites?
3
votes
0
answers
128
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?
1
vote
1
answer
92
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
2
votes
1
answer
112
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 ...
1
vote
1
answer
99
views
Post body is optional field in questions method?
"body": {
"description": "body of this post",
"values": "string",
"optional": true
},
Post body is optional field in questions method? Shouldn't all the posts have body field?
1
vote
1
answer
76
views
Policy on shipping working examples that use the explicit authentication flow in an SDK?
I'd like to ship a working example of using the explicit authentication flow in Stack.PHP. I have no trouble embedding the API key and app ID in the example. The problem lies in embedding the client ...
0
votes
1
answer
59
views
Why does badges/ids/recipients return badges not users?
I can't understand why badges/{ids}/recipients returns badges and not users? You must pass the badge ID in, so it should be given that you already know what the badge is. If it returns 30 objects you ...
0
votes
1
answer
59
views
How to get questions higher than ID
How can I get questions sorted by Question_Id in descending? (Sorted by creation is working) and how to get questions higher than given ID (or higher than last questions creation), my idea is to get ...
1
vote
1
answer
97
views
Can we have all possible closed reasons in help page?
Can we have all possible closed_reasons in help page and if possible, closed_reason_id, too?
For example
closed_reason_id=1, closed_reason="exact duplicate",
closed_reason_id=2, closed_reason="off-...
0
votes
1
answer
91
views
Total number of superuser users...
Hi all,
I am probably doing something wrong but there seems to be a discrepancy between the data-explorer and the API. For instance,
This query has a total of 48048.
http://api.superuser.com/1.0/...
1
vote
1
answer
53
views
Point of /users/{id}/inbox?
What is the need for the user ID in:
https://api.stackexchange.com/docs/user-inbox
Given that it will only return the inbox of the authenticated user, and deny a mismatching user id.
The only needed ...
0
votes
1
answer
53
views
Sort options explained
I have read the doc here but I'm quite confusing because I still don't understand the semantic behind each options. Would you like to detail the different options ?
activity (default)
votes
creation
...
3
votes
0
answers
49
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
1
answer
53
views
Can API stats return real revision number instead of 1234.5678?
Currently it returns like this
"revision": "1.0.1234.5678"
And looks like that number never changed.
So, Can API return real revision number whenever there is an update?
It will be very useful when ...
2
votes
0
answers
97
views
Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?
I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags:
They seem to simply filter down ...
4
votes
0
answers
89
views
recommended buffer size for markdown fields is conservative
I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000.
So I redefined to nvarchar(max), pulled all users in the stack ...
3
votes
1
answer
55
views
What's the simplest way to detect if a question was asked by a user whose account has been deleted?
What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
3
votes
0
answers
44
views
Example responses
I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
0
votes
1
answer
78
views
Fetch questions from offset?
I want to fetch questions from a certain offset. Not a minimum creation date, just an offset index, independent of the sort and order I'm using. How can I do this? Is it possible at all?
Page/...
1
vote
1
answer
62
views
questions/id is sometimes missing an owner?
Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
2
votes
1
answer
79
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?
1
vote
1
answer
54
views
sites method styling code problem
One of the site returned from the sites method has the following styling codes
"site_type": "main_site",
"name": "GIS",
"logo_url": "http://sstatic.net/gis/img/logo-small.png",
"...
2
votes
0
answers
48
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 ...
1
vote
1
answer
63
views
What are the paging parameters to the info method used for?
As far as I can tell, there can only be one info object returned from the info method, so why does the method take page and page_size?
3
votes
1
answer
41
views
How often should the /info route be accessed?
The /sites method makes it very clear that you should not invoke that route more than once per day:
"It is suggested that you cache its return for at least one day..."
However, the /info method ...
2
votes
1
answer
55
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 ...
3
votes
1
answer
68
views
Elections nominations posts not showing up in API
I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...