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.
179
questions
4
votes
1
answer
176
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....
4
votes
1
answer
82
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?
...
4
votes
2
answers
300
views
Can I apply the API Key first and do the application later?
I don't have an application to submit at the moment, but can I apply the key first?
4
votes
1
answer
158
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.
{
...
4
votes
1
answer
1k
views
Unable to make API calls using access_token for private Stack Overflow Teams site
I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site.
I've read through the documentation at https://api.stackexchange.com/docs/teams ...
4
votes
1
answer
137
views
How can I get a user's Meta site details in the API call?
This query returns the details of the Main sites only:
/associated-users#ids=2855348
How can I get the Meta site details also in the same query?
Do I need to add any ...
4
votes
1
answer
549
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 ...
4
votes
1
answer
127
views
Area51 does not show up in the associated accounts query
Is this on purpose and if yes why?
4
votes
1
answer
350
views
StackPrinter - This IP has exceeded the request-per-day limit.
I'm having this problem.
This IP has exceeded the request-per-day limit
I hardly believe that with StackPrinter, I'm depleting 10.000 requests per-day, per-site :).
Could you please verify?
EDIT:
...
4
votes
0
answers
102
views
How to quickly retag a question from the API?
I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far:
$editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . '/...
4
votes
2
answers
167
views
How to use the StackExchange object on a userscript?
This object seems to be available in all Stack Exchange pages and contains interesting information about the actual page, site, user, among others. Just type StackExchange on the console to check it ...
4
votes
1
answer
48
views
Does `inquestion` support multiple question ids?
The q parameter has an inquestion operator that can take a question id.
Can it take multiple question ids?
My use-case is as follows:
I want to get an array of questions with their excerpts.
However,...
4
votes
2
answers
159
views
How can I retrieve the reputation I (or another user, fwiw) earned for a given tag from questions and answers?
(I've included the api-v2.3 because https://api.stackexchange.com/docs starts with Stack Exchange API v2.3.)
From this answer I see there's no way to get all questions with a specific tag.
However, ...
3
votes
1
answer
146
views
How to calculate users, who have posted (question/answer) using specific tag?
For example, if I want to know the number of users who asked and answered about PHP.
Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
3
votes
0
answers
114
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 ...
3
votes
1
answer
71
views
How can I get user links in the API call like Twitter, GitHub and so on?
I'm trying to get the user's user links from his profile. Like this person
has GitHub and Twitter links on his profile. How can I get those?
3
votes
1
answer
130
views
How to check if a given question is changed
What is the fastest way to check if a question is changed using the API calls?
For my purpose (a cache), a question is considered changed if:
A new comment is added to the question or to any of its ...
3
votes
1
answer
266
views
PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange
I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
3
votes
1
answer
154
views
Will the new traffic measuring formula be available via the API as well?
From this MSO answer:
stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula.
...
3
votes
1
answer
3k
views
Searching on Stack Overflow and using the API give different results?
I am trying to use the Stack Exchange API to see the trends on different topics.
Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
3
votes
2
answers
439
views
What is the correct way to get the stackoverflow.com URL for an answer via the API?
A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
3
votes
1
answer
160
views
Is dev.meta.stackoverflow.com gone?
Sorry If I am posting in wrong place, but when I try to login to dev.meta.stackoverflow.com today, I got password protected page and looks like previous password is not valid anymore.
3
votes
1
answer
402
views
How do I get a GreaseMonkey/UserScript to interact with the Live Preview?
I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
3
votes
1
answer
97
views
Accessing the Stack Exchange API not on behalf of an user? [duplicate]
I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use.
However, the Authentication documentation says I'd need to use the OAuth 2.0 ...
3
votes
1
answer
245
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 ...
3
votes
1
answer
248
views
What are the mechanics of private API beta badge/reputation rewards?
Update:
George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...
3
votes
2
answers
257
views
Is there an api to post questions without using the websites interface?
I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
3
votes
1
answer
230
views
Encoding problem while accessing the API using Java
Trying to call an API URL from a Java application, I'm having problems accessing the contents of the URL.
I can access other sites through my program but not the Stack Exchange site.
But I can call ...
3
votes
0
answers
168
views
What's the proper way to fetch the score of all answers of SO?
I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days).
Basically the request I do gets me this:
Questions[]:
Id
Title
...
3
votes
1
answer
122
views
How do I add newlines when editing a post body via the API?
I am editing the tags of a question via the API, and to do that you have to pass the body and title etc.
I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
3
votes
0
answers
39
views
Call to search/advanced is treating tagged as an AND search, not OR [duplicate]
The docs for search/advanced (https://api.stackexchange.com/docs/advanced-search) have this to state about the tagged attribute:
"tagged - a semicolon delimited list of tags, of which at least ...
3
votes
1
answer
202
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 ...
3
votes
1
answer
120
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 ...
3
votes
1
answer
375
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
333
views
How to get (unread) achievements?
Is there an API call where you can get all achievements and all unread achievements?
Like this:
Update
Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
2
votes
1
answer
64
views
After which time span can my vote no longer change?
I came across a toast that appears when I try to change my vote that I made a few days ago.
Is it documented somewhere after which time span you can no longer change your vote? Or does the API ...
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://...
2
votes
3
answers
153
views
display_name isn't always there (should have OpenID name if needed)
usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the 0....
2
votes
1
answer
104
views
Pagination of users ordered by reputation
I know I can retrieve a page of users ordered by reputation using these apis:
http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1
http://api.stackoverflow.com/1.1/users/...
2
votes
1
answer
53
views
How to get up_vote_count and down_vote_count for a user?
I'm testing the following command:
$ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool
However it doesn't return up_vote_count and ...
2
votes
1
answer
169
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
2
votes
1
answer
190
views
"client_id rejected" error when retrieving the access_token
I'm developing an application in C# and I to post questions, so I need an access token.
I registered my application and I have received a client ID. Then I get the following query-string to get the ...
2
votes
0
answers
66
views
Can I see my past upvoted questions in handset APP?
It's not hard to dig out questions upvoted by myself through the PC website. But I cannot find any access to them in the ios app. I guess neither does android app. Did I miss something or is it a ...
2
votes
0
answers
471
views
OAuth2 Authentication Redirection error in PHP
I'm trying to authenticate into Stack Exchange's API with the following URL:
https://stackexchange.com/oauth/dialog?client_id=3535&scope=write_access&redirect_uri=https://stackexchange.com/...
2
votes
1
answer
152
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
0
answers
108
views
400 when posting a question to the Stackexchange API
I am adding a question via the API and I manage to create a preview of my question (See JSON extract below).
{
"has_more" = 0;
items = (
{
"creation_date" = ...
2
votes
1
answer
174
views
Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?
This is the query I want to run:
/2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
2
votes
1
answer
71
views
Should HTML or Markdown be passed to /questions/{id}/edit?
I'm making an app that supports editing questions. Should HTML or Markdown source be passed to the body parameter of /questions/{id}/edit?
2
votes
1
answer
103
views
What constitutes 'active participation' in the private API beta?
In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
2
votes
1
answer
126
views
What is the difference between accepted and is_accepted?
I saw there are two fields in answer type.
One is accepted, introduced in v2.2 and needs private_info access.
While another one is is_accepted without these limits.
Can somebody give an explanation?