All Questions
Tagged with stack-exchange or support
880 questions
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 ...
2
votes
1
answer
89
views
Top questions by tag and period
I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example).
How can I do this?
6
votes
1
answer
295
views
Complete list of sites to @include / @match into my script?
This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
3
votes
1
answer
3k
views
Unable to install script on Chrome
I posted a question on Meta Stack Overflow, and from there I was directed to install this script.
When trying to install the script in Chrome, I get the following error:
Apps, extensions and user ...
4
votes
1
answer
288
views
How do I parse the dates from the API?
I see that JSON returned by the API contains dates in the following format:
"creation_date":1364546475
^^^^^^^^^^
What's the meaning of it? How can I parse it to get the date in the ...
3
votes
1
answer
68
views
In the API, User object, what are all these reputation properties?
I am going through the JSON that is resulting from calling the Stack Exchange User API.
I see a bunch of reputation fields.
private Number reputation;
private Number reputation_change_day;
private ...
2
votes
1
answer
60
views
How do I get a user's bio with the SE API?
Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2
votes
1
answer
197
views
Moderation request: Make "scripts" and "user-script" into synonyms of "script"
We currently have three tags that are essentially the same thing -- especially in a stackapps context. They are scripts, user-script, and script.
script is one of the "required tags" and has a nice ...
2
votes
1
answer
291
views
Javascript SDK init fails on sytax error...why?
I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
2
votes
1
answer
49
views
How can I get a list of favorite/ignored tags?
I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
8
votes
2
answers
788
views
What is the right way to create a Stack Exchange API filter?
I'm trying to create a filter by following the documentation, but a few things are quite unclear:
How do I create a filter that does not have a base filter?
I'm creating a filter without a base so I ...
2
votes
1
answer
102
views
Maximum length of "about me" in the Stack Exchange API?
What is the Maximum length of "about me" in the Stack Exchange API?
The one from the /me path.
And in general, where are the length limits published? If anywhere?
1
vote
0
answers
2k
views
Stack Overflow Android application to answer questions
I am a regular answerer on Stack Overflow, and I have been trying to use my Android phone for my workflow, but unfortunately the mobile Web application is very cumbersome to use: for example, the ...
1
vote
1
answer
624
views
How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?
I want to use the API to get the sum of all scores of my answers to questions having a specific tag.
I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
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=...
1
vote
1
answer
70
views
Get all sites of type "main_site"
Is there a way to get all sites of type main_site from the /site method?
If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
0
votes
1
answer
89
views
Searching answers with API
I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile.
For questions this seems to be quiet easy ...
1
vote
1
answer
2k
views
How to login programmatically on Android?
I think my question is not a duplicate of this one: How to login programmatically
I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
5
votes
2
answers
471
views
Getting started: /users/{id} [duplicate]
I am trying to get the amount of reputation that a user has. I have established that I need to use this url: https://api.stackexchange.com/2.1/users/1272330?order=desc&sort=reputation&site=...
1
vote
1
answer
84
views
How do I find a user by their `display_name`?
I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name.
As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3).
I tried ...
3
votes
1
answer
197
views
Array of all Stack Exchange sites with Name, URL and Description
I'm building a WordPress widget and need this array do display a dropdown where the user will select the target site.
And with the selection value, the information will be built and displayed ...
1
vote
1
answer
2k
views
json with list of all user's on stackoverflow
I am trying to get the list of all user's in JSON format (as provided by the API) (using jQuery jsonp)
What I found is:
pagesize – The number of collection results to display during
pagination. ...
2
votes
1
answer
112
views
How do you list you stack exchange apps
I wanted to know how you're supposed to get a list of apps you've registered on the stack exchange api.
I finally managed to find this url: https://stackapps.com/apps/oauth
My question is this: How ...
10
votes
1
answer
4k
views
Get questions content from StackOverflow API
I need to get the question content from StackOverflow site.
I already built the functions that parse the HTML for a question, and return me the question content.
But, I found that there is an API, ...
3
votes
1
answer
99
views
List of object types on SE API v2.0+
Beware: The API is Huge!!
Below is the list of all the "types" of objects returned by the API v2.0+ :-
Note: v2.1 specific types are noted in a seperate box
Type | Field ...
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
66
views
How can I re-authenticate StackAlert Addon
Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message
key is not valid for passed access_token..
How ...
1
vote
1
answer
134
views
Getting questions that have a specific tag or tags?
In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?
EG:
All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
All Stack Overflow questions ...
2
votes
1
answer
181
views
Wrapper implementation method to get user notifications in Stack Exchange?
I'm trying to build an app that requires me to get the user notifications for a particular Stack Exchange user.
Now, I'm trying to use Java to accomplish this and I came across this wrapper library: ...
6
votes
1
answer
91
views
Should feature-requests, for third party apps, be flagged as "not an answer"?
I spotted this "answer" as a first-time post:
Feature Request
Please add support for proxies.... It would be helpful to people behind proxies.
Like "ME"
I was going to flag it as "Not an ...
1
vote
1
answer
161
views
Stack Overflow Firefox Extension
Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1.
How can I migrate that to 2.1? How to authenticate my application ...
2
votes
1
answer
525
views
Get accepted answers from Stack Overflow using Stack Overflow API 2.1
I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code
$data = file_get_contents("http://api.stackexchange.com/2.1/users/741747/answers?page=...
1
vote
1
answer
68
views
Ability to sort answers by number of revisions via StackExchange API v2?
I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric.
I see mention of a sort function in the ...
9
votes
1
answer
73
views
Whatever happened to closed_reason?
When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true.
Proof: https://api....
1
vote
1
answer
40
views
What sizes are the images available through the /sites endpoint?
I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
7
votes
1
answer
550
views
No website (yet), how to register?
I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
2
votes
1
answer
57
views
Downloading data en masse
I'm currently in the early stages of developing an Emacs major mode for the Stack Exchange Network.
I'm a little torn on how to set up the use of the API within the mode.
Is there a way to download ...
0
votes
1
answer
383
views
Serel returns a JSON Parse error for the 'C#' tag
When I try requesting the tag c# via Serel, I get an error.
This is the error I am getting:
INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey
JSON::...
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 ...
1
vote
1
answer
170
views
Ruby wrapper for stackoverflow api - Serel, Pilha
Serel and pilha are good Ruby wrappers for the StackExchange API, but I am not able to access the body method for question and answers. The body method returns nil.
I want the content of questions ...
1
vote
1
answer
43
views
ChatterBox configuration option is confusingly worded
ChatterBox - user script that adds inbox integration to Stack Exchange Chat!
I'm confused over the option:
Mark items as unread when you view them:
Why would I want to mark items as unread when I ...
6
votes
1
answer
72
views
Does the API have a method to get the total favorite count of a question?
Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
6
votes
1
answer
127
views
How do I get the no. of upvotes a person has received for a particular tag?
I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't think there is a direct query that will give ...
0
votes
1
answer
129
views
Write comment API failing with error_id: 500
I am trying to test post comment with the following URL
https://api.stackexchange.com/2.1/posts/10305691/comments/add?key=HIDDEN&access_token=HIDDEN&site=stackoverflow&preview=true&...
2
votes
1
answer
112
views
Get my profile information after authentication
I am coding for a mobile application and using stack exchange API 2.1. I am able to implement oauth and I have access token also.
Now I am trying to retrieve my profile information, like user_id, ...
2
votes
1
answer
42
views
What is the "Manage API Keys" link to the right of the StackApps.com frontpage?
When I click on it, I get a page that goes "Your Applications", then "No applications registered". Needless to say, this is different from "Manage your applications" link on the frontpage because I do ...
1
vote
1
answer
79
views
Posting answers via Stack Exchange API
Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users?
So if someone has 1 reputation he can also post answers, like a ...
1
vote
0
answers
49
views
Overwhelmed by unorganized information [duplicate]
As you can see I am a newbie, and trying to use Stack Exchange API for a school project.
I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
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
...
5
votes
1
answer
120
views
What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?
In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...