All Questions
312 questions
0
votes
0
answers
30
views
Multiple Callback Domains with SE API?
In order to use the API, you have to have Callback APIs. They're not hard to implement, but there's still some headaches if you want to use more than one Callback endpoint.
For example, an ...
5
votes
1
answer
356
views
Suddenly getting "Couldn't parse `client_id`"
For years, I've run a local PHP app using GuzzleHttp\Client to download my StackExchange posts.
Today, I'm suddenly getting this problem when posting my client_id, client_secret, code, redirect_uri.
{
...
7
votes
1
answer
297
views
Stackexchange oauth2.0 is suddenly failing
No changes in stack apps or my code, it was working fine for a while, suddenly it stopped working now.
I get "InternalOAuthError: Failed to obtain access token"
After more details inspection,...
1
vote
0
answers
102
views
Propose Stack Overflow / Stack Exchange as OAuth provider to demo-eleventy-serverless-oauth
Screenshot / Code Snippet
About
Eleventy is a static website generator. On version 1 it added support for severless functions. During the beta, the Eleventy maintainer created a demo for using ...
149
votes
9
answers
6k
views
StinkingBadges - Track your progress towards long-term badges
Introduction
I was curious how far away I was from Generalist, and there are some data explorer queries that can show you your progress, but I thought it should be possible to make this work with the ...
2
votes
0
answers
75
views
How to get user information of Stack Overflow?
I'm currently using the Stack Overflow API to get a user's information (via Stack Exchange).
Is it possible with the Stack Overflow API to get user details?
8
votes
1
answer
1k
views
How can I quickly get an access token for personal use?
Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do?
However, what if I do want an ...
0
votes
0
answers
30
views
how can i take write acces on stack overflow [duplicate]
const express = require("express");
const router = express.Router();
const axios = require("axios");
const querystring = require("querystring");
const dotenv = require(&...
3
votes
1
answer
850
views
Redirect URI for a chrome extension using StackExchange API Oauth
I'm working on a developing a browser extension which uses StackExchange API authentication. I was able to successfully implement the authentication for Microsoft edge/Chrome when I added chromiumapp....
127
votes
4
answers
22k
views
StackPrinter: The Stack Exchange Printer Suite
UPDATE:
Version 1.1 - MySE section, PrettyPrint, StackPrinter API
Screenshots:
App Homepage
Printable view
Logo:
https://www.stackprinter.com
StackPrinter is a website that pulls the main details ...
11
votes
0
answers
410
views
OBSOLETE - Dragon: an automatic editor
OBSOLETE: No longer maintained, and I haven't used it for ages either. May or may not work as long as v2 of the API remains supported
Screenshot
My revision history currently contains a lot of ...
2
votes
1
answer
115
views
The /questions endpoint only returns around 30,000 items where 400,000 are expected
I use stackr library and I registered an api key as the library mentions "since it increases your daily quota of queries from 300 to 10,000." So I use the following code, which worked fine ...
1
vote
1
answer
154
views
OAuth Domain can't satisfy redirect_uri AND Proxy url
Let's say I have an app called ExampleApp, with these details:
Client ID: 12345
Key: ThisIsTheKey123()
OAuth Domain: exampleapp.com
[√] Enable Client Side OAuth flow
[√] Disable ...
5
votes
1
answer
644
views
Issue with JavaScript SDK
When using the JavaScript SDK to enable client side OAuth flow, I'm running into this issue: Uncaught TypeError: Cannot read properties of null (reading 'postMessage')
And the page gets stuck with the ...
2
votes
1
answer
195
views
Main Stack Exchange network site API
The original Stack Exchange app has this cool feature where you can browse hot question from the entire network.
But at the current state I am not able to see a “Stack Exchange” site listed in the ...
2
votes
1
answer
157
views
Is there a way to use the API without using localhost or a web domain?
I'm developing an SO chrome extension in React with TypeScript.
I've been reading the guide on how to use the API with OAuth and it looks fantastic for what I'm trying to do.
The problem is that the ...
1
vote
1
answer
210
views
How to apply an access token in order to scrape the recommended answers?
I'm trying to scrape some data which needs the access token, and I received
'Applications must have a registered Stack Apps post to write'
Does that mean I need to post a question on Stack Exchange ...
2
votes
1
answer
2k
views
How to get access token from the hash?
I am trying to implement OAuth Stack Exchange API via Android app as client.
After a successful login from out I get the below URL how do I get or decode the access_token from the hash?
https://...
54
votes
9
answers
4k
views
OBSOLETE - New Q! - Google Chrome Extension notifies you of new questions of interest and inbox messages
Obsolete. Code last updated 7 years ago. Chrome store links are long dead. Source code still available though.
Screenshots
A new question notification in Chrome 6 in Windows XP
A new answer and ...
119
votes
6
answers
12k
views
Stacky - A .NET client library (Full support for API v2.0)
Stacky - A .NET Client Library
The same great library now supports the 2.0 API!
https://bitbucket.org/lfoust/stacky
Sample Code
IUrlClient urlClient = new UrlClient();
IProtocol protocol = new ...
5
votes
1
answer
281
views
Cannot authenticate with OAuth2
I was testing an app and suddenly I can't login any more.
Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side.
The OAuth error seems a ...
1
vote
1
answer
237
views
How to get access_token from the uri after the fetch function executes?
I am using this snippet to authorize to the Stack Exchange API
const baseUrl =
"https://stackexchange.com/oauth/dialog?client_id=17823&scope=read_inbox,no_expiry&redirect_uri=https://...
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 ...
4
votes
1
answer
607
views
Creating personal applications using Stack Overflow/Stack Exchange API
I want to create an application to read Stack Overflow notifications on my device.
My question: what should I provide in the OAuth Domain and Application website fields while registering the ...
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 ...
10
votes
1
answer
4k
views
What exactly is a valid OAuth domain name for registering your app?
I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name?
Is it the package name of my app?
Or do I have to point it to a server ...
3
votes
1
answer
134
views
Permission request form is broken, approve button is hidden, css variables are missing
You can check that form doesn't work with this link https://stackoverflow.com/oauth?client_id=17581&scope=no_expiry&redirect_uri=http://functional.localdomain:3449/login/github
1
vote
1
answer
357
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
165
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 ...
30
votes
0
answers
1k
views
Belisarius - Detecting vandalism on Stack Overflow
Background:
This bot has been developed in an attempt to help capture possible vandalism. This includes:
Removing all code
Replacing all content with nonsense/repeated words
Adding solutions to ...
1
vote
0
answers
153
views
Use Stack Overflow's authentication API in a browser extension
I want to create a browser extension that reproduce the Stack Overflow navbar (inbox and achievements):
I need for that to authenticate the current user using the authentication API.
For this step, I ...
19
votes
3
answers
1k
views
StackGeography, a Stack Exchange question mapping site
Screenshot / Code Snippet
(source: apphb.com)
About
Ever wanted to see just what kind of locations are posting to the various Stack Exchange sites at any given time? Even if you haven't, you'll find ...
31
votes
6
answers
2k
views
Draft Specification for API v2.0
We've started working on the next version of the Stack Exchange API.
The current draft specification is available, and we'd like to hear your feedback!
The headlining feature for this release is ...
3
votes
0
answers
104
views
PLACEHOLDER - VosMottor's Bot
Just creating a bot for Stack Exchange. I just started so far.
32
votes
6
answers
7k
views
Stack.PHP - Powerful and Extensive Library for Accessing the Stack Exchange API - Including Full Support for v2.0.
Don't know where to start?
Begin by checking out the Stack.PHP website.
Then head over here for a quick tutorial on setting up and using Stack.PHP.
About
Why you should use Stack.PHP:
Stack....
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
38
votes
2
answers
3k
views
StacMan - .NET client for Stack Exchange API v2
Features
Supports all Stack Exchange API V2 methods through version 2.1
Easy to use: one-to-one mapping between StacMan and API methods/params
Async is easy: methods return Task<T> so they're ...
4
votes
2
answers
253
views
Is it possible to access data in real-time using the Stack Exchange API?
I want to show an animation of:
Questions being asked and answered in the most popular tag
Comments being posted
New users joining
All in real time.
Is there access to real-time data?
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 ...
1
vote
0
answers
58
views
StackExchange API explicit oauth2 json doesn't return status 400
It is said here that if the request failed, it will return error with HTTP status code 400 but I'm getting HTTP status code 200 even when it is returning an error.
I'm hitting https://stackoverflow....
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
The API specifies error codes, and messages.
It also specifies a "backoff" parameter.
But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
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 ...
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 ...
2
votes
0
answers
70
views
Can I have more than one OAuth Domain?
I tried to set more than one OAuth Domain, but seems to it's not working. I tried to set them separated by comma or space, but got redirect_uri - must be under an apps registered domain error message.
...
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
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 '...
1
vote
1
answer
74
views
How can I the question detail page and add comments like the Stack Exchange app?
Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app?
I can't find the API to get them so far, so I decided to display the ...
0
votes
0
answers
83
views
Error invalid_request "OAuth request must be over HTTPS" when starting oauth flow
I'm building an application on top of StackExchange's API for a month now. While I was building the OAuth flow to allow users to authenticate using their StackExchange account, everything was working ...
13
votes
2
answers
516
views
ChatterBox - user script that adds inbox integration to Stack Exchange Chat!
Screenshot / Code Snippet
About
I like Stack Exchange Chat, and with the feedbots it tends to be pretty easy to keep up with what's going on with the site. Except for one thing - my inbox.
So I wrote ...
3
votes
1
answer
258
views
Localhost test Stack App authentication: error 'redirect_uri' does not match
I tried the answer at "Can the redirect_uri contain port number"?
But I am getting the following error:
Provided redirect_uri does not match the redirect_uri this code was created with
My access ...