Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
4 votes
1 answer
483 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 ...
Marco Pierucci's user avatar
4 votes
1 answer
288 views

Can not request info after OAuth

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
Zigii Wong's user avatar
4 votes
1 answer
90 views

The API has stopped allowing CORS requests

I just noticed that a script I have that makes CORS requests to the API stopped working on Meta Stack Overflow, claiming that the domain isn't allowed by Access-Control-Allow-Origin, which is true ...
Tim Stone's user avatar
  • 4,676
4 votes
1 answer
52 views

Typo in the docs for /me

The doc says: Returns the user associated with the passed auth_token. This method returns a user. It should say "access_token" instead of "auth_token".
Adam Lear's user avatar
  • 358
4 votes
1 answer
109 views

Why is my quota constantly decreasing?

I registered an app today (API v2) for the first time (App ID 47, LaServ), and let it run a bit with its new key. It's the only API app running on this IP (I rent the IP as part of a VPS package). ...
agent86's user avatar
  • 3,277
4 votes
1 answer
84 views

Find out whether a user has association bonus

I searched for this in the api docs and on this page but couldn't find any information: I have an api token of a given user. Is there a way to find out whether this user has association bonus rights? ...
User that hates AI's user avatar
4 votes
1 answer
2k views

API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail

This looks like it might have been requested before: Support Cross-Origin Resource Sharing In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With ...
agent86's user avatar
  • 3,277
4 votes
1 answer
665 views

`redirect_uri` is not under the registered domain for this application

I am trying to implement Stack Exchange authorization in my RoR application. But I get the error : redirect_uri is not under the registered domain for this application in Gemfile use: gem '...
nobody 's user avatar
4 votes
1 answer
158 views

How to use /me to display my profile data in StackExchange API?

So I'm able to use API calls like: https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow to display a list of questions. This is easy as it ...
noogui's user avatar
  • 165
4 votes
1 answer
338 views

Login using Google fails saying OpenID 2.0 accounts for Google has gone away

Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
Birkan Cilingir's user avatar
4 votes
1 answer
49 views

In API 2.0, what happened to questions sorted by "featured?"

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
agent86's user avatar
  • 3,277
4 votes
1 answer
119 views

Unable to sort /search results by creation_date

I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can. What works: Create a /search query with the following parameters: fromdate: 2012-01-24 order: desc ...
Marvin Pinto's user avatar
4 votes
1 answer
2k views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
neydroydrec's user avatar
4 votes
1 answer
361 views

Getting an API key for an application without a server

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server. How can I fill out the form required ...
Hyeonseo Yang's user avatar
4 votes
1 answer
2k views

Why do I get a throttle violation after 300 requests while using a key but no access_token?

I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls. I was calling the "...
agent86's user avatar
  • 3,277
4 votes
0 answers
57 views

OAuth Dialog has all content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
NikxDa's user avatar
  • 141
4 votes
0 answers
164 views

Can we specify more than one OAuth Domain?

I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code. Chrome provides an identity API for OAuth2, and so does ...
Bob's user avatar
  • 286
4 votes
0 answers
613 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
art's user avatar
  • 141
4 votes
0 answers
104 views

Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]

The following URL is first hit when a user clicks on Login: https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...
Prasanna's user avatar
  • 348
4 votes
0 answers
289 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
Crashthatch's user avatar
3 votes
2 answers
1k views

Python library for the StackExchange v2 API? [duplicate]

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
Kristian Glass's user avatar
3 votes
1 answer
60 views

Is the "link" URL enough to uniquely identify an "inbox_item"?

I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item? Is the "link" URL enough to uniquely identify an "...
Alex Lockwood's user avatar
3 votes
1 answer
34 views

Get a list of required tags for site

How can I get the tags which are required, (fulfills_required = true) for each site? Like order/filter the tags route to show the fulfills_required tags first?
Jonathan.'s user avatar
  • 3,118
3 votes
1 answer
5k views

How to convert a (javascript) date to the API timestamp format?

When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format: fromdate=1380326400&todate=1380412800 What is this date format? How ...
Sarath Saleem's user avatar
3 votes
1 answer
149 views

Is it possible to register V2.0 apps that are not web apps?

I want to register an app that will use the V2.0 API here: https://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name. What can I possibly ...
user avatar
3 votes
1 answer
2k views

Invalidating access token vs de auth app?

Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
Jonathan.'s user avatar
  • 3,118
3 votes
1 answer
104 views

Cannot get redirect_uri to work

This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
Gaurang Tandon's user avatar
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
3 votes
1 answer
391 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 ...
Kishorekumar E K's user avatar
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
3 votes
1 answer
398 views

"OAuth request must be over HTTPS" when request is over https

I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error: error: invalid_request error description: OAuth request must be over ...
agent86's user avatar
  • 3,277
3 votes
1 answer
540 views

Receiving error "Unexpected domain on proxy URL"

I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose. I am stuck on the point of authenticating the user. I followed the ...
Prahalad Deshpande's user avatar
3 votes
1 answer
71 views

Problem with /search tagged and max

Seems like a problem with /search when max is not set to today, and tagged is given: https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
jogloran's user avatar
  • 423
3 votes
1 answer
93 views

Why is "body" missing from certain inbox items?

I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method. When item_type is set to "careers_invitations", the body attribute appears to be ...
Nathan Osman's user avatar
  • 23.3k
3 votes
1 answer
37 views

When will the "site" field be absent from an "inbox_item"?

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
Alex Lockwood's user avatar
3 votes
1 answer
353 views

Java wrapper for the Stack Exchange API 2.0?

I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
Alex Lockwood's user avatar
3 votes
1 answer
83 views

Is there a meta api?

Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
59 views

Events: field request

The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could). ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
39 views

Site categories in API?

Would it be possible to have a category field added to the site object. Eg Technology, Culture, etc. The sites seem to already have categories, as you can see on this page: https://stackexchange.com/...
Jonathan.'s user avatar
  • 3,118
3 votes
1 answer
64 views

"Authentication Statistics" graph y-axis labels are overly granular

Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
agent86's user avatar
  • 3,277
3 votes
1 answer
29 views

Is the display name meant to be escaped HTML in the 2.0 version of the API?

The display_name field of a user is HTML escaped. See here for example. Is this expected behavior or a bug? The documentation doesn't mention it.
user avatar
3 votes
1 answer
68 views

HTTP 500 error when calling /apps/{accessTokens}/de-authenticate with an access_token argument in GET

For almost all API calls, I pass both my key and my access_token. This doesn't exactly make sense for the "de-authenticate" endpoint, as the access token is already in the URL. Passing one anyway ...
agent86's user avatar
  • 3,277
3 votes
1 answer
328 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 ...
Jivan's user avatar
  • 141
3 votes
1 answer
86 views

How to track the open/closed status over the history of a question?

I'd like to find out the times in the history of a question when it was closed and reopened. How can I do that using API v2? The closest relevant call I have found is /questions/{ids}/timeline, ...
200_success's user avatar
3 votes
1 answer
81 views

Getting display name of the site on which question is located

When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
user avatar
3 votes
1 answer
215 views

Getting global information (Stack Exchange) about a list of users

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID. It's possible by querying /users/{ids} but it returns ...
A.L's user avatar
  • 308
3 votes
1 answer
68 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
Nicholas DiPiazza's user avatar
3 votes
1 answer
373 views

Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard

I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
Wu-Man's user avatar
  • 131
3 votes
1 answer
92 views

Creating a home brew Push Server for Stack Exchange

I'm looking to create a home brew push notification server for Stack Exchange. This is mainly due to the fact that Toast Notifications within Windows Store applications are done using Windows ...
James Mertz's user avatar
3 votes
1 answer
133 views

Update the default filter editor to use the API key

When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of: ... "quota_remaining": 9424, "...
Marvin Pinto's user avatar

1 2
3
4 5
7