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.
878
questions
3
votes
1
answer
41
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
1
answer
122
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
188
views
Why can I not authenticate my application? Application is not allowed to request implicit grants
I created a placeholder. PLACEHOLDER - Disco Application I created an application and added placeholder. I followed https://stackoverflow.com/oauth/dialog?client_id=19204&redirect_uri=https://...
2
votes
1
answer
190
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
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
1
answer
240
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=...
5
votes
1
answer
130
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
38
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,
'...
5
votes
1
answer
121
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.
0
votes
1
answer
28
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
2
answers
301
views
Post questions using API [duplicate]
Can I use the API for posting any question to Stack Overflow? I have a internal SharePoint site and whenever anybody has got any technical question they post it here. I want to post it automatically ...
3
votes
0
answers
85
views
All updates (answers, comments etc) using stack exchange API
Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question?
checking for answer changes is easy cause its a top ...
-4
votes
1
answer
144
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
vote
1
answer
140
views
How can I write (edit) one of my answers?
I started to love the Python black formatter and I want all my code on Stack Overflow to be formatted like that. So I wanted to go over the answers and apply black / blacken-docs, check if anything ...
1
vote
0
answers
57
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 ...
4
votes
1
answer
76
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 ...
2
votes
1
answer
50
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 ...
21
votes
5
answers
1k
views
Conscientious use of the API
What constitutes abuse?
Making an undue number of requests in a short span of time, or regularly exceeding a request quota during "normal" use.
Guidelines for polling
We realize that a great ...
1
vote
1
answer
185
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?
1
vote
1
answer
149
views
How can I fetch the answers posted in last week based on tags of the question?
I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
1
vote
0
answers
143
views
Extension; Access to layout and javascript of stackexchange network site instead of inject (Stacks is not defined)
Note: last update at the end of POST
I am developing an extension for community users.
Introduction:
The extension is under development on this github: https://github.com/IcarosNetSA/atsu
and these ...
3
votes
0
answers
92
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
3k
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
126
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
251
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, ...
3
votes
1
answer
47
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
2
answers
740
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(...
6
votes
1
answer
284
views
Stack Exchange API in Chrome extension
How I can connect my extension to the API? I tried to use this example code for connecting:
SE.init({
clientId: 1,
key: '?',
channelUrl: '?',
complete: function (data) { alert('...
6
votes
1
answer
130
views
Get reputation changes across all sites without querying each one individually
I'm looking to make an app that shows your reputation changes throughout the network. /me/reputation-history/full almost accomplishes this, but it's on a per-site basis. I only want one query to get ...
1
vote
1
answer
56
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, ...
2
votes
1
answer
118
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 ...
3
votes
1
answer
88
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 ...
2
votes
0
answers
24
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
498
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
67
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
38
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
152
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
49
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
73
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
65
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.
...
2
votes
0
answers
58
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 '...
2
votes
1
answer
277
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 ...
0
votes
1
answer
141
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)
...
4
votes
1
answer
310
views
Retrieving list of c# questions
I am trying to retrieve list of C# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#".
But I get JSON response related to c questions.
Response :
{
"...
19
votes
2
answers
24k
views
Why Content-Encoding gzip rather than Transfer-Encoding gzip
The API responses are returned in gzipped format. But by using Content-Encoding gzip, the burden of unzipping is on the user of the API. On the other hand if the server uses Transfer-Encoding gzip, ...
1
vote
1
answer
47
views
How to get statistic data for specific tags which belong to a specific team?
I just want to get statistic data for specific tags which belong to a specific team.
For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...
1
vote
1
answer
94
views
Search by team API - want to have same query results in StackOverflow.com site
I just want to have same query result like stackoverflow.com did. I read this post:Searching on Stack Overflow and using the API give different results?.
looks like /search/excerpts is the right ...
2
votes
1
answer
834
views
Obtain the list of questions associated to answer_ids without losing the information of which question comes from which answer_id
This is a follow up to a previous question of mine, and the starting point is that, given a list of reputation objects retrieved via /users/{ids}/reputation, I can easily retain only the entries with ...
2
votes
0
answers
55
views
Is there an API call that can get me a user's access_token?
I'm trying to create a connector between Microsoft's Power Platform and the Stack API. Since the server ↔ server auth flow is happening outside of code I control, I can't grab the access_token from ...
4
votes
1
answer
69
views
How do I see the differences between two or more SE API filters and merge into a filter which includes all requested properties (i.e. is a superset)?
For SmokeDetector, we have several SE API filter values in use. Notably, there are separate filters for the /answers/*, /questions/* and /posts/* routes. From an organizational standpoint, I'd like to ...