Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
99 views

Uncaught channelUrl must be under the current domain

I'm developing a Stack Chrome extension that will make use of the API. I'm following the instructions on the API docs here. My OAuth and host websites are set to stackexchange.com in my Stack Apps ...
5 votes
1 answer
108 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 ...
1 vote
1 answer
245 views

StackExchange API's request data is blank in Drupal 7

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=...
3 votes
1 answer
141 views

StackExchange API, OAuth for other sites than Stack Overflow

I'm implementing the OAuth system through StackExchange API, here is the guide. I've already integrated the OAuth system with stack overflow with the following parameters: Token URL: https://...
8 votes
1 answer
263 views

Why has my daily quota increased from 10k to 2 billion?

I'm using the Stack Exchange API with an access token and API key, and I was just checking my remaining quota. According to the documentation, this should be a number (somewhat) lower than 10,000, ...
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....
3 votes
0 answers
70 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
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&...
0 votes
0 answers
45 views

`/me/associated` gives ambiguous/wrong response [duplicate]

This is my associated accounts page. No where I can see Meta Stack Overflow profile. But when I run /me/associated with meta_site as parameter to types, I get a response that tells me that I have a ...
2 votes
1 answer
154 views

How do I add a comment to a post through the Stack Exchange API?

I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
2 votes
1 answer
84 views

Bugs in API 2.2 "/search/advanced" with a "q" parameter

How can we handle these problems? Result for sort=relevance&order=desc is similar to sort=relevance&order=desc. Very poor caching system: After some queries, you may receive the same results ...
2 votes
1 answer
45 views

Discrepancy in results size

I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword. My code iterates over all result pages by increasing the &page=N parameter while '...
6 votes
1 answer
135 views

Does a closed and/or deleted Stack Apps post still provide access to the API?

Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API. What happens if the question is closed because of ...
1 vote
1 answer
113 views

App post got deleted

I'm currently writing an app using the Stack Exchange API. Today I wanted to rework the login component, but after signing in I get the following message: Application must have a registered Stack ...
2 votes
1 answer
136 views

How to get all tags' descriptions from the Stack Exchange API directly?

I know I can get one tag description by request such as "https://api.stackexchange.com/2.2/tags/tag_name/wikis?site=dba". But if I use it more than hundreds of times, I will get a ...
2 votes
2 answers
82 views

How to update tags without modifying question body? [duplicate]

I made a call to update the question tags using API - https://api.stackexchange.com/docs/edit-question however the body formatting changes when I edit the tags with the same body received (with HTML ...
3 votes
1 answer
67 views

Wrong results for fetch timeline from offset

To get the timeline for a question I am sending this request: https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222 I am getting empty results: {&...
1 vote
1 answer
395 views

`key` is not valid for passed `access_token`, token not found (although seemingly valid authentication)

I've made an authentication flow for my app (which wants to read your inbox and sent notifications on your desktop). Which can be found here For this, I have created a stack app on this site. With the ...
1 vote
1 answer
3k views

How can I use an iOS custom URL scheme as redirect_uri?

I am trying to implement OAuth using iOS URL schemes. For example if I provide myapp:// as redirect_uri the app should launch. However, I cannot add it as OAuth domain in the Stack Apps settings, as ...
1 vote
0 answers
52 views

How to automate StackApp user approve and user login with stack Exchange explicit oAuth2.0

We are developing an stack App and integrating the app in our application. However we have successfully done a POC over POSTMAN and fiddler for explicit oAuth2.0. Now when we are integrating the same ...
3 votes
1 answer
246 views

Unable to post a comment using the interactive API documentation

I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
3 votes
1 answer
279 views

PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange

I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
3 votes
1 answer
174 views

Difference between `/inbox/unread` & `/me/inbox/unread`

I ran /inbox/unread & /me/inbox/unread. What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
2 votes
1 answer
63 views

What does "in practice" mean here?

From /answers/{id}/delete: In practice, this method will never return an object. For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...
2 votes
1 answer
75 views

Can I get the question id in the inbox route?

My intended behavior of my app is to navigate the user the the question page when an inbox item gets clicked. For example, when the API return a link like this https://stackapps.com/questions/8515/...
2 votes
0 answers
15 views

Is the way to search answers by who I voted for? [duplicate]

I found few similar questions: first, second. But answers is too old (2014 year). It's actual now — no way to get this info by using API?
1 vote
0 answers
88 views

How to determine if a question is hot?

I know that I can get all hot question by sorting it like this: /2.2/questions?order=desc&sort=hot&site=stackoverflow Likewise, I'm not quite sure if other sortings like activity also ...
3 votes
1 answer
82 views

503 errors on batch get questions endpoint

I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
1 vote
1 answer
179 views

How do I find all questions/answers per a tag using .Net?

I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
2 votes
1 answer
84 views

What happened to the links to a Stack App mentioned in the documentation about write access?

The documentation about write access states: The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
-1 votes
1 answer
1k views

Why and how to make use of API key and credentials Stack Overflow API? [duplicate]

I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
5 votes
1 answer
466 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 ...
2 votes
1 answer
66 views

Suggested edit not returned by API

This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call: https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
2 votes
1 answer
55 views

Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?

The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
3 votes
1 answer
2k views

Implicit OAuth flow puts the access token in the hash?

The implicit OAuth flow puts the access token in the hash. However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
0 votes
1 answer
150 views

How to search ALL sites with the advanced API?

I can make a request to Stack Overflow as follows, which searches with keywords in titles:     /2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow My question is ...
1 vote
1 answer
235 views

OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string

I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
4 votes
1 answer
1k views

Unable to make API calls using access_token for private Stack Overflow Teams site

I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site. I've read through the documentation at https://api.stackexchange.com/docs/teams ...
17 votes
1 answer
255 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
4 votes
1 answer
52 views

Can we find the time of a vote using the API?

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
3 votes
1 answer
1k views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
3 votes
0 answers
46 views

Search incomplete synonym name

Is there is way to search synonym when user is inputting the name. Something like how things work in SO's tag search page. j2se is a synonym of java tag, but it appears in search when searching for ...
2 votes
1 answer
58 views

Exclude records where field is present (ie., return only open questions)

How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)? Example: Results for Closed questions include field closed_date=1234567890. ...
6 votes
1 answer
571 views

Got 502 response after very few calls

This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012. Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
3 votes
1 answer
100 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
2 votes
0 answers
224 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
2 votes
0 answers
116 views

JavaScript API Library for StackExchange API?

I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
1 vote
1 answer
693 views

No 'Access-Control-Allow-Origin' for oauth/access_token

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
0 votes
1 answer
156 views

What token parameters to use for OAuth2 Authorizaton?

I'm trying to connect a piece of desktop software to the Stack Exchange web service through OAuth2. I've read the docs but the problem is that what it talks about is subtly different to what ...