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
1 vote
1 answer
56 views

Can I pass a filter to a write method?

I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
1 vote
1 answer
188 views

access_token not present in /oauth/access_token response

When using the explicit OAuth authentication for apps, I have problems receiving the access_token. A user goes to /approve and is then forwarded to approve the app. When redirected back to my site I ...
0 votes
1 answer
37 views

How do I future-proof my app to work with every SE site?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
1 vote
1 answer
646 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
117 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 ...
2 votes
1 answer
62 views

How do I get information about top users of a Stack Exchange community?

I was going through the stack exchange API and I want to extract information about, say, top 20 users of a particular stack exchange community. How do I use the API for that? I tried on this page ...
1 vote
0 answers
45 views

Please add gallery thumbnails to this site's search results

I would like to link to a list of all my stuff, but I'd like it to display with thumbnails and excerpts (like it does on tag searches). Is this possible? It seems like a reasonable use case, but for ...
  • 591
5 votes
1 answer
2k views

Permission to link to Stack Overflow webpages from my app?

Update: My problem has now been resolved. I've added details at the bottom of this post. I wrote a little Android app (Stack Flower) that allows customized searches of Stack Overflow. If the user ...
4 votes
1 answer
166 views

“Try It” URL has wrong URI

On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name: For example, on docs/similar, the URL displayed will be: https://api....
3 votes
0 answers
95 views

Moderation request: Please make `app-key` a synonym of `api-key`

Refer to Are "api-key" and "app-key" the same thing?. Although I've now retagged the questions that used app-key, there are still plenty of places where the redundant term is ...
  • 12.7k
1 vote
1 answer
204 views

Will the Stack Exchange API work with an org-specific Stack Overflow site?

We have a company-specific Stack Overflow site for folks to ask questions with the company. It has a *.stackoverflow.com domain/URL. Would I be able to use the Stack Exchange API to access the ...
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 ...
user avatar
1 vote
1 answer
122 views

Is it okay to just send the API key (without implementing oauth-2 login)?

I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
2 votes
0 answers
38 views

Mass find and replace in answers, questions and titles of questions

1. Briefly I don't find, how I can mass replace string in multiple answers, questions and titles of questions of any Stack Exchange site. 2. Example For example, I want to replace incorrect form of ...
2 votes
1 answer
116 views

How to get the number/count/total of tags/badges/something from the API?

I see we can fetch tags via the API, which works fine but, sadly, there doesn't seem to be a way to get the count of all possible tags. Currently the Stack Overflow Tags page shows 36 tags per page ...
  • 123
6 votes
1 answer
397 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 ...
  • 113
0 votes
1 answer
58 views

Get a great many counts of questions, by select tags for a date range?

I am trying to get the number of questions associated with a specific tag for a particular date range. I initially assumed the fromdate and todate parameters would do this. However, it appears that ...
3 votes
0 answers
81 views

Java Wrapper for the 2.2 API

I've been looking for a Java based API/wrapper/DAO for the new SE API 2.2. but could not find any (May very well be a limitation of my search skills, though.) I found references to attempts at ...
4 votes
2 answers
75 views

Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?

I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own ...
  • 375
5 votes
1 answer
102 views

Access token keeps being invalidated

For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason. We aren't requesting new tokens (which would invalidate ...
  • 4,325
5 votes
1 answer
106 views

How to get total visited days and consecutives of an user?

I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
4 votes
1 answer
85 views

How to use shallow_user?

I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ? I tried: https://api.stackexchange.com/2.2/shallow-user/2765346/...
2 votes
2 answers
135 views

How to get notified when user posts, comments, etc.?

I want to create a slack integration that will list the user's Stack Overflow activity. EG: when the user asks a question, posts an answer, edits a post etc. What can I use for this kind of ...
2 votes
1 answer
182 views

Keep getting 500 "Internal error" in requests with an access token

I'm trying to fetch some data from the Stack Exchange API I have a valid access_token and registered key but I keep getting internal error as a result. Here is the request URL: https://api....
4 votes
1 answer
375 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
36 views

How do I get the total number of records for a given search?

I want to use the Stack Exchange API and get the total number of results returned from the search route. I wrote this recursive script to find the last page with the has_more=False, is there a better ...
  • 133
3 votes
0 answers
54 views

API for the mobile feed, as seen in the Android app?

I'm creating an app for Windows 10, and I would like to provide a similar experience to the official Android and iOS apps (while keeping my own identity, of course). One feature seen in the official ...
2 votes
1 answer
180 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 ...
  • 269
2 votes
1 answer
134 views

bad_parameter when using key with todate?

I'm having trouble using my API key with the todate parameter. My query works fine with todate: $ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
  • 123
3 votes
1 answer
357 views

iOS Client for stackoverflow always throws redirect_uri not a valid uri

I tried to use the Stack Exchange API to authenticate the user. I have registered my app with redirect_uri as stackexchange.com/oauth/login_success. But it always throws "redirect_uri is not a valid ...
2 votes
1 answer
90 views

Can I pass multiple filters?

I've tried adding filter=total and filter=withbody in the same request but get the following error: {"error_id":400,"error_message":"Invalid filter specified","error_name":"bad_parameter"} How ...
-5 votes
1 answer
614 views

What is the root cause for too many request issue?

I am getting the following error when importing questions under a particular tag name: {"error_id":502,"error_message":"too many requests from this IP, more requests available in 56100 seconds"...
  • 99
1 vote
0 answers
81 views

Get all questions of a particular tag in API 2.2 in PHP

I'm trying to get all the questions for documentation on Meta Stack Overflow in PHP. The code I'm using is as follows: <?php $feed = file_get_contents('https://api.stackexchange.com/2.2/...
  • 119
5 votes
1 answer
372 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 ...
7 votes
1 answer
161 views

How do I get my total reputation score using the API?

How do I get my total reputation score? My score is 354, on Stack Overflow, as per my user page. I browsed the API, and found a call similar to what I require:       api.stackexchange....
3 votes
1 answer
154 views

Can I have a separate account just for testing my Stack App?

I want to test my Stack App to make sure it works properly without and problems. Is it allowed if I use a separate account just for this purpose?
  • 375
2 votes
1 answer
157 views

Implicit Flow Isn't Redirecting

I'm using the WebAuthenticationBroker to allow users to log in to their account: var accessToken = ""; var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
  • 191
1 vote
1 answer
168 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?
  • 99
-3 votes
1 answer
82 views

Why API Version 2.2 returns null always while getting questions list?

The below 2 codes returns null always. How to get the list of questions using API Version 2.2? Question thisPost = context.Official .StackApps .Questions.ById(1) .WithComments(true) .First(); var ...
  • 99
3 votes
0 answers
64 views

It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]

When we send this request: https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
  • 822
4 votes
1 answer
304 views

Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?

We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
1 vote
1 answer
59 views

wrong results of /search/advanced

I am querying mobile in stackoverflow. The second result is an answer. Results of /search/advanced is giving only questions when queried mobile. This is applicable for all other terms which are to be ...
  • 822
3 votes
1 answer
248 views

Same access token between different fetch_token requests

TL;DR: Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same? Scenario: An anonymous user authenticates with Stack ...
  • 141
0 votes
0 answers
69 views

OAuth domain with a custom port in a dev environment? [duplicate]

I have an app for which the OAuth domain is example.com However, the domain for dev environment is example.com:8000 When trying to authorize the website, Stack Exchange replies with an error ...
  • 141
-2 votes
1 answer
63 views

Are the inbox routes (`inbox_item`) missing some item types?

Should there be more options for item_type in the "inbox" routes (they return inbox_item)? Shouldn't they return answer and edit suggested like the site's global inbox does? As shown in this ...
  • 822
2 votes
1 answer
102 views

Authentication uses # instead of `?`?

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
1 vote
1 answer
81 views

Is my script's API usage okay?

I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2. I've already asked there for a review of that Python code, but I would ...
  • 113
1 vote
0 answers
58 views

A way to copy text on this forum to preserve math symbols?

Is there any way to copy html-text containing Mathjax symbols from this forum's threads and paste it into a word processor (I use Libre office Writer) to preserve nicely looking math symbols? The ...
  • 11
1 vote
1 answer
86 views

Absence of `order` and `sort` in rest calls?

Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
  • 822
-4 votes
1 answer
135 views

Problem Implementing Socialite Stack exchange

I get code and access token but I cannot call API function My url being generated https://api.stackexchange.com/2.2/me?site=stackoverflow&access_token=lcynp67rMHfm%28DRLjv7CVQ%29%29&key=6521 {...

1
3 4
5
6 7
18