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.
858 questions
4
votes
1
answer
78
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
1
answer
130
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
72
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 ...
3
votes
2
answers
613
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.
...
6
votes
1
answer
184
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 ...
2
votes
1
answer
668
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
98
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&...
1
vote
1
answer
159
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 ...
0
votes
1
answer
509
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
136
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
97
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 ...
0
votes
1
answer
65
views
What about actually identical requests?
Now, it says here that I should not make lots of semantically equivalent requests. It also says that there is a lot of caching. So I was wondering, what about exactly identical requests. Should I wait ...
1
vote
1
answer
204
views
How to increase the allowed number of API calls?
Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app).
Is it possible to get that number increased?
5
votes
1
answer
165
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 ...
5
votes
1
answer
412
views
Why am I being told to backoff when I'm well within my API limit?
I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff.
I only run the app once a night and don't really pull that much data. I ...
2
votes
1
answer
195
views
Stack Exchange API not realtime?
I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more.
Is this API not real-...
12
votes
2
answers
213
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
141
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=...
2
votes
0
answers
43
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
132
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&...
3
votes
1
answer
70
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
219
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
79
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 ...
2
votes
1
answer
109
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
73
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 ...
3
votes
1
answer
144
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
341
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
69
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
1
vote
1
answer
129
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
1
vote
1
answer
107
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 ...
1
vote
0
answers
80
views
(Unofficial) Stack Overflow, Windows Phone app forgets its place when sleeping
Sometimes, when I'm reading a question on this (unofficial) Stack Overflow, Windows Phone app, the phone goes to sleep.
When I wake it up, it's forgotten I was reading a question, and has gone back to ...
4
votes
2
answers
204
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 ...
9
votes
3
answers
629
views
Stack Exchange userscript template / boilerplate
I find it annoying to have to type the entire list of Stack Exchange sites to include every single time I make a new userscript. Furthermore, jQuery isn't automatically included by default.
Is there ...
2
votes
1
answer
381
views
"access_denied" error in the write answer at stackoverflow [duplicate]
I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
6
votes
4
answers
318
views
My App unintentionally DoSed api, and my IP got blocked across all the sites, now what should I do?
I put a program in cron to run every 5 minutes, and that program loop 5 times and read each api site 12 seconds interval.
But last night (12 hours ago), I noticed that my program broke and there was ...
2
votes
1
answer
262
views
Why am I getting a 404 when trying to post a comment?
I'm dabbling around in /posts/{id}/comments/add, and I'm trying this query:
https://api.stackexchange.com/2.1/posts/144890/comments/add?site=meta.stackoverflow&key=ArbQthisismykeyjyecuJQ((&...
4
votes
1
answer
97
views
Syntax for Adding a Question as a Favorite?
I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via:
/2.2/questions/{id}/...
1
vote
1
answer
6k
views
How to programmatically retrieve the access_token from client-side OAuth flow?
I'm making an application in C# and I need to both search and post answers, so I need an access token.
I found some information, libraries, and code pieces:
The authentication guide for the Stack ...
4
votes
1
answer
46
views
In lieu of write access, can a user be referred to a site with title and tags in the URL?
For an app I'm working on, I'd like to refer users to Stack Overflow instead of providing an "Ask a Question" interface. Users will enter their question and I'll be using the similar API to suggest ...
1
vote
1
answer
215
views
Getting Error 400 when using Authentication Broker in Win 8 App for Stackexchange API
I'm trying to connect to Stack Exchange API using OAuth.
So far I've been able to get a token and retrieve data that does not require authentication.
When i try do query that uses the authentication, ...
3
votes
1
answer
246
views
Do I need Stack Overflow's permission to launch my iOS app for Stack Overflow?
I have a Stack Overflow app for iOS that doesn't use the API. It just uses search and web (scraping?) to display questions.
Do I need to get approval the from Stack Overflow team?
4
votes
2
answers
568
views
Stack Overflow reputation API [duplicate]
I am creating one wordpress widget plugin that display different types of social media fans and followers counts. After that I feel that i also include Stack Overflow reputation for specific users. ...
3
votes
1
answer
115
views
Can I retrieve the API interfaces via the API?
I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it?
This isn't just for curiosity's ...
5
votes
1
answer
101
views
Possible to get a user's flag history?
Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag?
I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
6
votes
1
answer
196
views
StackExchange API /sites/ does not return all the sites
I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com..
Since I want list of all the sites, I am trying to ...
2
votes
0
answers
119
views
Unhelpful error message when attempting to authenticate [duplicate]
I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
0
votes
1
answer
287
views
Post to Stackoverflow
Is it possible to post a question to Stack Overflow using PHP in the same way that it's possible to post content to Facebook?
1
vote
0
answers
528
views
OAuth login fails for Stack Exchange and Facebook, but not Google
I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
0
votes
1
answer
90
views
Are the "body", "comments" and "answers" parameters supported in the API version 2.x?
Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x.
Are these parameters not supported in new API? Are ...
5
votes
1
answer
139
views
What is "accept_rate" in the Stack Exchange API?
when I call the /users path, like:
/docs/users-by-ids#&ids=1&site=stackoverflow
In the reply, I get a field called accept_rate.
What is that field about?