All Questions
Tagged with stack-exchange or support
880 questions
4
votes
1
answer
288
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
0
votes
1
answer
99
views
How to get the "People reached" stat of a user, using the API? [duplicate]
I checked the user ids and advanced search API docs, but I could not get this stat. Does Stack Exchange provide this info in the API?
/2.2/users/{ID}?order=desc&sort=reputation&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?
0
votes
0
answers
47
views
How to get all posts that a user voted on? [duplicate]
I know how to get all questions that I favorited using /docs/me-favorites.
But, how can I get all answers (or questions) that I voted on? Like those in the upvote history.
5
votes
1
answer
108
views
Is it possible to have no sorting - to just show results in order of inputted IDs?
I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with.
So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
1
vote
1
answer
121
views
How do I get the body of an answer, as well as the author? [duplicate]
I am using this call to get the body of an answer :
http://api.stackexchange.com/2.2/questions/5877753/answers?order=desc&sort=activity&site=stackoverflow
But this only gives the author of ...
2
votes
1
answer
165
views
Question up-voting is not working from my code?
I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route.
But in the log, it's just showing something like:
org.apache.http....
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 ...
3
votes
1
answer
982
views
How can I extract user information on Stack Overflow using Python and the Stack Overflow API?
I am new to Python. I want to extract a user bio, answers, questions they made in Stack Overflow.
Can I do that using the API? For example, can I extract the user: name bio and number of questions ...
3
votes
0
answers
58
views
Ability to support json type for post request
Right now we it uses url encode to post authenticated request. Maybe an option for application json?
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 ...
2
votes
0
answers
64
views
Does a user only need to log in once to access all sites?
When I use stack exchange sites on my desktop web browser, I log in once using stack exchange ID and then when I navigate to sites I don't belong to, it automatically associates me with the new site. ...
5
votes
1
answer
118
views
404 "This Method cannot be called this way" when getting user's inbox
I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items.
However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
2
votes
0
answers
55
views
Official support for SE apps
Is SE a company, or to put it another way, is it possible to develop apps for SE itself, rather than as a 3rd party?
I find it frustrating to get to a complete list of my sites, you have to go to ...
4
votes
1
answer
116
views
After user login, how do you ask user for permissions?
For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...
5
votes
1
answer
148
views
The StackWrap4J java wrapper gives nothing but `JSONException`s?
I'm using the StackWrap4J java wrapper for the Stack Overflow API.
But every code I try, that uses methods of this java wrapper, ends with this JSONException:
net.sf.stackwrap4j.json.JSONException: ...
2
votes
1
answer
68
views
Where are the built-in filters?
On api.stackexchange.com/docs/create-filter it states:
there are a number of built-in filters which cover common use cases.
Where can I find them? Can you make built-in filters a link?
I need ...
3
votes
0
answers
140
views
Is there any app that could extract and manage questions from Stack Overflow?
I'm looking for help with a Stack Overflow application that could do the following things for me:
Extract the top voted questions at a given date and tag
Extract the answered questions of some given ...
5
votes
2
answers
275
views
How can I introduce my Stack Overflow app to other users?
Recently, I created a project to manage and extract questions from Stack Overflow and convert those to PDF docs. I put it on GitHub.
I think this project could be improved and could be very helpful ...
2
votes
0
answers
313
views
Array boolean values are returning empty
I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
4
votes
1
answer
52
views
Limiting the number of items returned by a request?
How can I limit the amount of items returned to me when performing an API call?
I only want the top 10 most commonly used tags, by default I'm sent back 30. EG:
api.stackexchange.com/2.2/tags?order=...
3
votes
0
answers
47
views
API error: 500, "this error has been logged" when retrieving questions
I am using the following URL to get new questions:
https://api.stackexchange.com/2.2/questions?pagesize=100&page=1&fromdate=1423639578&site=stackoverflow&key=MY_KEY_HERE
I get:
"...
3
votes
1
answer
110
views
Question's body rendering in Android's webview
I've developed an app that get questions from Stack using REST APIs and shows them in a WebView. My problem now is that the body often contains placeholders that must be "replaced" with the real ...
2
votes
0
answers
64
views
How can I show recently answered questions and answers in my blog site?
I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this.
Also, from what I can see, in order to use the API a user needs ...
2
votes
1
answer
645
views
Unable to download data from the API using UNIX wget?
I want to download the JSON data from this sample API call into a file.
I tried using wget, like so:
wget -O ~/ks/json.txt "http://api.stackexchange.com/2.2/search/advanced?pagesize=5&fromdate=...
2
votes
1
answer
81
views
Obtain JSON equivalent of a full Q&A HTML page?
I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
3
votes
2
answers
570
views
How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
I recently built a userscript for Board Games Stack Exchange. On page load, it scans questions and answers for certain plaintext patterns and replaces them with some HTML, making the posts prettier.
...
0
votes
1
answer
484
views
Get UserId by passing email ID in the Stack Exchange API? [duplicate]
The Stack Exchange API is mostly based on 'ids'. IE
/2.2/users/{ids}/top-tags?site=stackoverflow
How can we get {ids} for a particular user using his email id or name? Is there any method available ...
4
votes
1
answer
117
views
What's the difference between the Stack Exchange API and the Stack Overflow API?
I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?
5
votes
1
answer
75
views
Which reputation events are private?
I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history)
and Stack Overflow's description of how reputation is calculated.
But, I can't find ...
4
votes
0
answers
55
views
Can I ask the API to tell me to back off? [duplicate]
I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
12
votes
2
answers
185
views
How to get data related to Winter Bash?
I was thinking of creating a nice question on Programming Puzzles & Code Golf related to Winter Bash 2014, but I need some specific data for that question - The number of hats of each user.
Is ...
2
votes
2
answers
105
views
Total Number Of Answers
I need to find the total number of answers submitted by a user on stackoverflow. I tried the following:
I got my json from the following:
https://api.stackexchange.com/users/2440312/answers?site=...
1
vote
1
answer
602
views
400 (Bad Request) error in time of creating question using StackExchange API
I am trying to create a question in StackOverFlow using write-access API(https://api.stackexchange.com/2.2/questions/add). I have provided the parameters as required but a "400(Bad Request)" error is ...
2
votes
0
answers
34
views
How do I sort the /2.2/notifications endpoint?
I do not find information on the notifications api page. I am looking at this: https://api.stackexchange.com/docs/notifications I would like to be able to sort by creations date and other fields. is ...
2
votes
1
answer
111
views
"We are no longer accepting questions from this account.". Error with write access, using the API
I have created an application for testing write-access APIs. After registration, I can successfully retrieve an access token by hitting the URL:
https://stackexchange.com/oauth/dialog?client_id=3973&...
6
votes
1
answer
150
views
Request for script, or fix, to add Edit-Reason checkboxes
I've found a Stack Exchange userscript which looks GREAT - it would make things so much easier for me:
The Edit summary options script
Unfortunately, it doesn't work at all! I'm not sure why.
My ...
3
votes
1
answer
49
views
How do display names relate to at-mentions?
Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies).
At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
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 ...
1
vote
0
answers
58
views
Procedure for posting questions using the API, v2.2?
I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions.
As ...
1
vote
0
answers
93
views
How to get notified when any of the content I have edited or posted is edited, deleted, or closed?
How can I "keep an eye" on all my content on SE? Due to policy, users aren't notified when their questions or answers are deleted, despite numerous feature requests.
I've looked at StackCenter but it ...
2
votes
1
answer
58
views
`last_editor` is missing but `last_edit_date` is present?
Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner?
Example: stackapps.com/a/3891/
PS: This issue came ...
0
votes
0
answers
880
views
How to get my StackOverFlow API Key [duplicate]
I used to login in StackOverFlow site using my Gmail Id/password.How I will get my StackOverFlow API key? I require that key to fire a StackExchage API which requires authentication.
Also, could ...
2
votes
1
answer
76
views
Is there any API or documentation that would help my adding functionality to Q&A textareas?
I'm writing an userscript that should add some functionality to the main textarea (WMD) used to post and edit answers and questions. The functionality will usually need to do things like insert text ...
3
votes
1
answer
54
views
How can I access all questions asked by an arbitrary user?
Within the web app for courses I organize, I'd like students to be able to provide their Stack Overflow username, so that we can pull in their most recent and unanswered questions. This information is ...
1
vote
1
answer
245
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=...
3
votes
1
answer
115
views
Is developing, with the Stack Exchange API, possible on my local machine?
I'm sorry if this question seems trivial for the most of you but I'm not very familiar with OAuth and the Stack Exchange API.
Is it possible to use this API in local environment for the development ...
2
votes
1
answer
316
views
Does verifying OAuth2 `access_token` validity count towards API call quota?
Does this Stack Exchange API endpoint count towards quota usage? :
http://api.stackexchange.com/docs/read-access-tokens
(This is the most promising API call I found for verifying the validity of ...
1
vote
1
answer
57
views
How do I update redirect_uri param for a StackExchange App [duplicate]
I've created a StackExchange app but now I cannot find the edit page so I can update the app settings, like:
redirect_uri - which is an OAuth param
3
votes
1
answer
197
views
How can I create a filter from scratch using filter/create?
I want to create a filter from scratch to get just the information I can use:
error_id
quota_remaining
api_site_parameter
The first two are part of the wrapper and the last is part of .items, so I ...