All Questions
Tagged with stack-exchange or support
179 questions
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?
...
4
votes
1
answer
141
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
337
views
Can I get information about a user with their network ID?
My network profile's ID is 4337810.
Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...?
There doesn't seem ...
4
votes
1
answer
185
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
51
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
172
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
2
answers
192
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, ...
4
votes
1
answer
1k
views
Get questions with body and answers
How can I get the latest 30 questions with body and answers using the api?
And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request?
To get ...
4
votes
2
answers
326
views
rate-limit per endpoint per IP VS. server apps in hosted environments
I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites.
As I understand the rate-limit as it stands, every site on ...
4
votes
0
answers
106
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
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 ...
4
votes
1
answer
128
views
Area51 does not show up in the associated accounts query
Is this on purpose and if yes why?
4
votes
2
answers
306
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?
3
votes
1
answer
73
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
163
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
2
answers
258
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
0
answers
41
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
251
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
1
answer
182
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
131
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
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 ...
3
votes
1
answer
279
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
103
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
0
answers
170
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
154
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
1
answer
254
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
1
answer
146
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
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 ...
3
votes
2
answers
449
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
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
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 ...
3
votes
0
answers
131
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
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 ...
3
votes
1
answer
418
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 ...
2
votes
1
answer
163
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
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
474
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
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
337
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
55
views
How do you trigger the search/advanced 'q' parameter to search all words?
When you search for “playa parents not working” on http://expressionengine.stackexchange.com, you’re brought to this URL:
https://expressionengine.stackexchange.com/search?q=playa+parents+not+working
...
2
votes
1
answer
195
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
1
answer
175
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
130
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?
2
votes
1
answer
109
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
3
answers
156
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
54
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
173
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
156
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
1
answer
104
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
60
views
Advanced search doesn't return expected results when using min & max (dates) together?
I want to use the Advanced Search API to get the same results as the Stack Overflow site search.
With it, I can see new questions on 11/10/2015.
When I tried to craft a query using the Advanced ...