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.
862
questions
0
votes
0
answers
7
views
Ho to get the write access for Stack exchange api [duplicate]
I am receiving this error. "Applications must have a registered Stack Apps post to write " even i pass the write_access in scope
0
votes
1
answer
39
views
Error calling Stack Overflow Teams API using Python requests library
I'm trying to call a PUT/DELETE request using the Stack Overflow Teams API in Python, but I'm encountering errors. As an FYI, I have a working PAT that allows me to make get requests for articles and ...
1
vote
0
answers
42
views
PLACEHOLDER - A post to register my app posting
PLACEHOLDER - Just a post to register my app.
2
votes
2
answers
61
views
How to revoke an access token generated for my application?
I generated an access token for my application and shared it with some people. Now, I wish to revoke the access token and generate a new one. I don't find any way to revoke that token.
0
votes
0
answers
25
views
How can I fix my API Key Problem when Installing https://github.com/glendsoza/goaround with git inside the CLI?
So when setting my API key I typed it in "export STACKOVERFLOW_APP_KEY=""
But when I ran ./goaround I get "Something went wrong while calling API key
These are the steps I used ...
3
votes
1
answer
41
views
What are the rules for Discord bots posting to Stack Exchange?
I'm a member of a community that has its own Stack Exchange site and I'm wondering where I can find some insight into the rules of creating a Stack App that does the following:
We have a pretty strong ...
2
votes
1
answer
90
views
Is the StackExchange API free of charge?
I am brand new to StackApps, so please bear with me for a question that is hopefully obvious to most regular users.
As far as I can tell, there is no charge for accessing the StackExchange API. ...
4
votes
1
answer
85
views
Stack Overflow for Teams support
I am reading this documentation https://stackoverflow.help/en/articles/4385859-stack-overflow-for-teams-api where they mention the need to create a PAT to access StackOverflow for Teams API (https://...
1
vote
1
answer
56
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 ...
2
votes
0
answers
50
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 ...
2
votes
0
answers
19
views
Getting weird response from StackExchange API [duplicate]
Context:
I am trying to notify myself with an email whenever there is a reputation change on my account every 30 mins(which will come via a cron job). So I am hitting a StackExchange API to get this.
...
3
votes
1
answer
37
views
Difference in results between parameters Tagged or Q
If I make a request using the "tagged" parameter, the returned results are more that if I make the same request with the same tags but using the "q" parameter.
Notice that the ...
3
votes
1
answer
28
views
Unread notifications not showing in API response
I have been trying to fetch all unread notifications from the Stack Exchange API. However, I always get a blank items data in the response.
API Endpoint:
/2.3/me/notifications/unread?page=1&...
1
vote
0
answers
38
views
How to get write access to Stack Exchange API? [duplicate]
I am trying to use Stack Exchange API to post upvotes and downvotes from my app. I have received the access token but not sure what to do with write_access
1
vote
0
answers
49
views
Is it logical to make two versions of an app, one for prod and one for dev?
Let's say I'm working on an app on a local dev server, localhost:1234 for example. Once I feel ready, I upload any changes to a GitHub repo and have those changes sync with an online website, for ...
1
vote
1
answer
72
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 ...
2
votes
1
answer
29
views
Writing question API failing with error 407
I'm trying to use https://api.stackexchange.com/2.3/questions/add method
payload = {
'site': 'stackoverflow',
'title': title,
'body': body,
'tags': tags,
'key': key,
'...
0
votes
1
answer
25
views
If a client authenticates, will API requests be counted on their profile?
For example, let's say client X signs into an app that I made. My servers get an access_token which I can then use to send requests on their behalf, for example reading their reputation history. By ...
0
votes
0
answers
21
views
Getting events from /events route live
The /events endpoint is incredibly useful. It provides recent data on useful topics, like posts, comments, and users. However, its full potential remains unavailable.
At the time of posting, I would ...
5
votes
1
answer
117
views
Is there a userscript to put links to Teams back in the left nav?
Teams are moving to their own domain and as such, my freemium team where I keep some useful-for-work knowledge has now disappeared from the left nav, which annoys me.
I'm looking for a userscript that ...
2
votes
1
answer
175
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 ...
1
vote
0
answers
44
views
Userscript to disable responsiveness on SE
I would like to make a user script to disable the responsiveness on Stack Exchange sites. My main reason is that I would like to resize my browser to half my screen size (705px) and still get the ...
0
votes
0
answers
35
views
How can I get an API key after registering stackapps? [duplicate]
After registering stackapps, I cannot find where to get my API key
3
votes
1
answer
63
views
Please add the existence of the Meta tag to What is Meta
On our Help Center Page What is Meta the following sentence is used:
Feel free to ask questions about Stack Apps on Stack Apps, tagging them with the discussion or support tags.
Can we somehow add ...
5
votes
1
answer
113
views
What is the latest version of the Stack Exchange API?
What is the latest version of the Stack Exchange API and its release date?
The document which I referred is for v2.3.
2
votes
1
answer
41
views
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, incl. differences between them?
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, including differences between them?
Basically, I'm looking for onboarding documentation ...
1
vote
1
answer
76
views
Is there a way to get a user's account ID given his site's user ID?
I'm trying to modify this userscript of mine to make it work on all sites but I couldn't find a way to get the account ID (i.e., network profile ID) for a user.
Is this possible?
3
votes
1
answer
316
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....
2
votes
1
answer
79
views
Download data for specific tag
How to download all the data just for a specific tag (say
[compiler-error])?
On Stack Overflow, there are around 19000 questions tagged with [compiler-error].
So, I was hoping is it downloadable w.r.t ...
1
vote
1
answer
130
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 ...
3
votes
0
answers
71
views
replace text with icons
Exist any way to replace text with icons?
Like this example:
I have tried to re-write/replace the html from an extension in the site but I have not achieved anything functional; with the relative ...
1
vote
1
answer
2k
views
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error:
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
Here is my script:
...
3
votes
1
answer
83
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://...
3
votes
1
answer
39
views
How do I search answer bodies for Markdown links?
The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
1
vote
1
answer
49
views
Why does this minimal filter return no results at all?
I tried to create a 'minimal' filter
https://api.stackexchange.com/docs/questions#order=desc&sort=activity&filter=!34JvAEfIUyU-&site=stackoverflow&run=true
for the 'question' object, ...
1
vote
2
answers
340
views
Fetch all questions of a particular tag from the Stack Exchange API in Python
I am trying to fetch all questions of the Swift tag from Stack Overflow. I created the query using https://api.stackexchange.com/docs/questions and wrote a simple wrapper in Python.
def fetch_question(...
2
votes
1
answer
72
views
How do you access the StacksEditor to set markdown from a user script?
I'm trying to revive Astro CB's auto edit corrections script. I've got a lot of it updated, improved, and working with Stack Exchange changes since 2015.
One thing that stuck on is setting the ...
2
votes
0
answers
19
views
A script to freely re-assign/remap/rebind the Stack Exchange hotkeys
the original Stack Exchange announcement from 2014
At least the hyperlink Ctrl + L and code Ctrl + K shortcuts go against the common web standards — in combination with the SE editor not behaving ...
1
vote
0
answers
180
views
How does 1 request every 5 seconds exceed the 30 requests per second limit?
I'm doing a run every 5 seconds for this API call:
url = "https://api.stackexchange.com/2.3/questions/no-answers?pagesize=30&fromdate={date_today}&order=desc&sort=creation&site=...
1
vote
1
answer
45
views
"is_edited": false or "is_edited": true as an option in the API response
When working with the Stack Exchange API I noticed that there is important data (at least for what I thought to do) not available, whether the question, answer or comment was edited or not:
{
"...
3
votes
0
answers
31
views
Browsing method documentation consumes 4 quota units per page
Is it my imagination (scratch that, it's definitely not), or does simply browsing method doc pages (without using the "Run" function) consume quota?
From Bash using httpie and jq (on a ...
2
votes
1
answer
128
views
Is there any way to get statistics by tag?
We are Stack Overflow Teams users. We want to get the statistics by tags.
Currently only StackExchangeApiClient.getStatistics API is found which include all team's data.
And can the https://...
1
vote
0
answers
45
views
When are Stack Apps questions shown with thumbnails instead of regular statistics?
Today I was browsing a tag here and I noticed that on the first pages, all questions are shown with thumbnails (most of the time, just the default one):
However, from page 5 on the formatting is like ...
1
vote
1
answer
58
views
How to get all communities a user is associated with?
Is there a way to get all Stack Exchange communities in which a user is active? I mean the list of communities that are displayed on a user's network profile.
1
vote
1
answer
62
views
Using API to collect tag information - data differences
I am trying to get a list of the most popular tags on Stack Overflow.
According to the SO page, these are the most popular tags as of today:
The Python tag has 6690 questions asked this week alone.
...
6
votes
1
answer
495
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 ...
2
votes
1
answer
183
views
How can I retrieve more than 25 pages from the Stack Exchange API v2.3?
I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100).
The ...
2
votes
0
answers
54
views
Why does the 'Apps' tab show hot questions and the 'Scripts' tab high scoring questions?
The Stack Apps homepage has two unique tabs which are not present on other sites: Apps and Scripts. There is a slight difference between the two, which is visible upon hovering:
That's right, the '...
0
votes
1
answer
112
views
Getting 405 when trying to post a comment
I'm trying to post a comment to The API Sandbox, I did one using the interactive documentation, but when trying to use my own code, it doesn't work. Instead, I get status code 405 (Method not allowed)
...
3
votes
1
answer
85
views
When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?
I'm using the Questions Advanced Search API to retrieve Stack Overflow questions with a specific tag that were created in the last 15 minutes.
I've written a script which runs every fifteen minutes ...