Skip to main content

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.

Filter by
Sorted by
Tagged with
2 votes
0 answers
55 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
72 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
195 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
172 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
122 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
30k 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
1k 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
964 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
166 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
112 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
29 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
382 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
127 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
102 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
137 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
50 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
100 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
78 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
402 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
39 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
69 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
135 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
314 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
465 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
170 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
103 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
126 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
79 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
734 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
73 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
77 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
165 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....
1 vote
1 answer
113 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
64 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
165 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
69 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
77 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 ...
4 votes
1 answer
454 views

Refresh expired acess token basics

I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API. Using WebView, I'm able to retrieve an access token and store it in my shared ...
3 votes
1 answer
93 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 ...
1 vote
1 answer
326 views

How to register a Stack App with explicit OAuth 2.0 flow to a third party site?

I am about to integrate a Stack Overflow app to a third party website / integration service (Zoho). The third party website's documentation mentioned that the redirect URL is https://deluge.zoho.com/...
1 vote
0 answers
144 views

Having Trouble Setting Up OAuth for App

I am trying to build an app but I can't get the authentication right. I have been following the steps here: https://api.stackexchange.com/docs/authentication I keep getting the below error no matter ...
1 vote
1 answer
1k views

Why am I getting a 400 Bad Request error with this code?

I'm using this code (in an async function): let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&...
3 votes
1 answer
81 views

Take the right filter for favourite count

I try to take the favourite count filter for a question. I use api through R library(stackr) stack_questions(11227809, site = "stackoverflow", filter = "!GeD4JB*YQqe2L") and I ...
2 votes
1 answer
276 views

What write in app access for sending data

Here is my app's code: However, I get this error:
2 votes
1 answer
95 views

How are API changes announced?

How are API changes announced? Are emails sent out to developers, or is there someplace I can subscribe to?
2 votes
1 answer
693 views

How to handle default compression on response with Java's HttpURLConnection? [duplicate]

I sent a request for question with no parameters to https://api.stackexchange.com/2.2/questions?order=desc&sort=activity&site=stackoverflow I received a response of 9764 bytes stored in ...

1 2
3
4 5
18