All Questions
Tagged with stack-exchange or support
858 questions
1
vote
1
answer
91
views
Using API to collect tag information - data differences
I am trying to get a list of the most popular tags on Stack Overflow.
According to the SO page, these are the most popular tags as of today:
The Python tag has 6690 questions asked this week alone.
...
2
votes
0
answers
85
views
Why does the 'Apps' tab show hot questions and the 'Scripts' tab high scoring questions?
The Stack Apps homepage has two unique tabs which are not present on other sites: Apps and Scripts. There is a slight difference between the two, which is visible upon hovering:
That's right, the '...
2
votes
1
answer
384
views
How can I retrieve more than 25 pages from the Stack Exchange API v2.3?
I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100).
The ...
0
votes
1
answer
234
views
Getting 405 when trying to post a comment
I'm trying to post a comment to The API Sandbox, I did one using the interactive documentation, but when trying to use my own code, it doesn't work. Instead, I get status code 405 (Method not allowed)
...
4
votes
1
answer
332
views
Retrieving list of c# questions
I am trying to retrieve list of C# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#".
But I get JSON response related to c questions.
Response :
{
"...
20
votes
2
answers
25k
views
Why Content-Encoding gzip rather than Transfer-Encoding gzip
The API responses are returned in gzipped format. But by using Content-Encoding gzip, the burden of unzipping is on the user of the API. On the other hand if the server uses Transfer-Encoding gzip, ...
1
vote
1
answer
73
views
How to get statistic data for specific tags which belong to a specific team?
I just want to get statistic data for specific tags which belong to a specific team.
For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...
1
vote
1
answer
148
views
Search by team API - want to have same query results in StackOverflow.com site
I just want to have same query result like stackoverflow.com did. I read this post:Searching on Stack Overflow and using the API give different results?.
looks like /search/excerpts is the right ...
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
0
answers
66
views
Is there an API call that can get me a user's access_token?
I'm trying to create a connector between Microsoft's Power Platform and the Stack API. Since the server ↔ server auth flow is happening outside of code I control, I can't grab the access_token from ...
4
votes
1
answer
103
views
How do I see the differences between two or more SE API filters and merge into a filter which includes all requested properties (i.e. is a superset)?
For SmokeDetector, we have several SE API filter values in use. Notably, there are separate filters for the /answers/*, /questions/* and /posts/* routes. From an organizational standpoint, I'd like to ...
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 ...
4
votes
2
answers
249
views
How can I retrieve the reputation I (or another user, fwiw) earned for a given tag from questions and answers?
(I've included the api-v2.3 because https://api.stackexchange.com/docs starts with Stack Exchange API v2.3.)
From this answer I see there's no way to get all questions with a specific tag.
However, ...
3
votes
1
answer
174
views
What's the relation between access_token, key, quota_max, and throttling?
From How API Keys Work (FAQ) I read that the limit of requests per day per IP is 300 without a registered key, or 10000 with it.
And this is what I see by experimenting myself: since I've not ...
140
votes
3
answers
31k
views
API "Hello World" code
The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON.
Let's say we wanted to call the /info method:
https:...
1
vote
1
answer
4k
views
Is it possible to get the response from a form POST?
This is related to my XYZ app to write comments.
I found a much neater way to submit the request using forms:
function post() {
se_url='https://api.stackexchange.com/2.3/posts/'+se_postId.value+'/...
2
votes
1
answer
1k
views
Why doesn't my XMLHttpRequest call work in Excel?
I can make a simple API call in JavaScript using XMLHttpRequest:
<html>
<script>
function reqListener () {
out.textContent=this.responseText;
}
...
1
vote
1
answer
215
views
Load answers to a question with review-like wrapper HTML
I'm trying to implement this feature request in SOUP, but I'm having trouble figuring out a good way to actually load the answers.
I can just load the full question page (like this one, for example) ...
0
votes
1
answer
130
views
trying to query answers for a question using the stack.php
I am trying to query stackoverflow and route it to my website via the following
<?php
require_once './stackphp_source_0.4/src/api.php';
require_once './includes/function.php';
// Begin by getting ...
1
vote
1
answer
47
views
Get points from Multiple sites in one call
Is there any way to get total points and badges from various sites (e.g. stackoverflow, sharepoint, wordpress etc.) in one call?
0
votes
1
answer
397
views
Serel returns a JSON Parse error for the 'C#' tag
When I try requesting the tag c# via Serel, I get an error.
This is the error I am getting:
INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey
JSON::...
0
votes
1
answer
159
views
Write comment API failing with error_id: 500
I am trying to test post comment with the following URL
https://api.stackexchange.com/2.1/posts/10305691/comments/add?key=HIDDEN&access_token=HIDDEN&site=stackoverflow&preview=true&...
1
vote
0
answers
114
views
User sort by last_modified_date always return errors
I am using this API to get users info sorting by last_modified date, https://api.stackexchange.com/docs/users#page=1&pagesize=100&order=asc&sort=modified&filter=!9YdnSBVWs&site=...
3
votes
1
answer
160
views
Java exception when user age or location is unspecified in returned JSON
I am brand new to the Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was ...
4
votes
1
answer
1k
views
Get questions with body and answers
How can I get the latest 30 questions with body and answers using the api?
And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request?
To get ...
4
votes
1
answer
81
views
Does `inquestion` support multiple question ids?
The q parameter has an inquestion operator that can take a question id.
Can it take multiple question ids?
My use-case is as follows:
I want to get an array of questions with their excerpts.
However,...
3
votes
1
answer
115
views
StackApplet and AskUbuntu
Two questions:
Whenever one clicks on the "Ask Ubuntu" in the StackApplet's menu it opens https://askubuntu.com/users/recent/### (where ### is the user's id number), but there is no such ...
1
vote
1
answer
101
views
Wrong sorting parameter in documentation for question/{ids}/answers
It looks like that in the question/{ids}/answers documentation, there is a mistake:
votes – score
Shouldn't this be
votes – votes
3
votes
1
answer
436
views
How do you get the association_id from the CC data dump?
I am working with Stack Exchange /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: http://...
3
votes
0
answers
42
views
Call to search/advanced is treating tagged as an AND search, not OR [duplicate]
The docs for search/advanced (https://api.stackexchange.com/docs/advanced-search) have this to state about the tagged attribute:
"tagged - a semicolon delimited list of tags, of which at least ...
4
votes
0
answers
88
views
Get total question views via API
I can currently get the total number of questions for a tag by using the total filter. This works well, but I'd like to get a total views count for the questions in that tag. I could iterate over each ...
6
votes
1
answer
178
views
How are filters created?
Can someone explain how Filters are created in the Stackexchange v2 API?
The documentation mentions the following for /filters/create:
It is not expected that many applications will call this method ...
4
votes
1
answer
385
views
Can I get information about a user with their network ID?
My network profile's ID is 4337810.
Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...?
There doesn't seem ...
3
votes
1
answer
4k
views
HTTP 400 "Bad Request" while using "access_token" in request Url
I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
5
votes
2
answers
495
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=...
2
votes
1
answer
197
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
2
votes
1
answer
140
views
Can "trends" be queried with the Stack Exchange API?
I've studied the Stack Exchange API to some extent (although I'm a newbie to such things), and it appears I can query the database using many criteria. But does Stack Exchange store any "trends&...
8
votes
1
answer
2k
views
Making use of the *"has_more": true* json attribute in the Json response from stackoverflow
When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):
"...
6
votes
1
answer
147
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 think there is a direct query that will give ...
3
votes
1
answer
105
views
How to get the questions from hot/week/month tab?
I am only interested in the questions from hot/week/month tab.
The iPhone app MyStacks can show week/month tab, but I did not find such API in the documentation.
5
votes
1
answer
773
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?
1
vote
1
answer
90
views
How to use tags/{tags}/related
I am new to stackapps. I am wondering how to apply /tags/{tags}/related to more than one tags. The documentation does not give an example. I tried
/2.0/tags/c,java/related?site=stackoverflow, /2.0/...
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 ...
2
votes
1
answer
200
views
Question up-voting is not working from my code?
I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route.
But in the log, it's just showing something like:
org.apache.http.message....
1
vote
1
answer
134
views
Stack Exchange API for getting list of users from iOS 8
I am trying to call the Stack Exchange API to get a list of users. This is from my iOS app:
NSString *str=[NSString stringWithFormat:@"http://stackexchange.com/oauth/2.2/users?order=desc&sort=...
2
votes
1
answer
4k
views
What is the unix epoch date, range [0, 253,402,300,799] in the API docs?
The type of the fromdate or todate in several methods is set to
unix epoch date, range [0, 253,402,300,799]
I don't know what that is and I can't find any information -- can someone explain it or ...
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:...
7
votes
1
answer
237
views
Would it be possible to create a script that could be run manually to unprotect questions that meet certain parameters?
One of the sites I use has in excess of 10% of their questions protected. It's a small site but this seems like a huge amount, largely due to questions being on the HNQ regularly and attracting many ...
3
votes
0
answers
79
views
How do I access the greatest hits (questions) via API v2.2.?
The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below URL:
https://stackoverflow.com/questions/greatest-hits
I would want to access these ...
1
vote
0
answers
108
views
Bounty question collector
I want to write a script to collate all bounty questions from all Stack Exchange sites.
I have heard of Tampermonkey and I have no server access.
Could someone explain how I should go about writing a ...