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.
878
questions
4
votes
1
answer
101
views
How can I implement a method to call the SE API that handles backoff correctly?
I'm writing JavaScript (Node.js) code that calls the Stack Exchange API. One part of the API is that it may return a non-zero value for backoff, which essentially means "wait n seconds before ...
4
votes
1
answer
531
views
`redirect_uri` is not under the registered domain for this application
I am trying to implement Stack Exchange authorization in my RoR application.
But I get the error :
redirect_uri is not under the registered domain for this application
in Gemfile use:
gem '...
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
146
views
How to use /me to display my profile data in StackExchange API?
So I'm able to use API calls like:
https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow
to display a list of questions. This is easy as it ...
4
votes
1
answer
72
views
What API do I call to measure popularity growth for specific tags over time?
I believe I can use the Stack Exchange API to get total questions that fit chosen tags.
I have an example I wrote myself here:
data.stackexchange.com/stackoverflow/...
4
votes
1
answer
89
views
How to use shallow_user?
I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ?
I tried:
https://api.stackexchange.com/2.2/shallow-user/2765346/...
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
76
views
How to monitor (for new) accepted answers by certain tags?
In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s).
The problem is how to find (newly) accepted answers. The "activity time" does not work for this.
For ...
4
votes
1
answer
72
views
Can revisions be returned from the API, filtered by user?
I see that question or answer revisions can be returned from the API either by post ID or by GUID.
I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
4
votes
1
answer
48
views
In API 2.0, what happened to questions sorted by "featured?"
I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution:
Shouldn't there be a separate call for ...
4
votes
1
answer
2k
views
API Implicit Authentication with Python
I am working on an desktop inbox notifier for StackOverflow, using the API with Python.
The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
4
votes
1
answer
65
views
API 'search' method with 'min' parameter
If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:
http://api.stackoverflow.com/1....
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
1
answer
115
views
Confirmation on sort, order and min/max
I'd like confirmation, if possible, that the following chart of sort types is correct:
sort |orderable|min/max |min/max type
------------------------------------------
activity | yes | ...
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
1
answer
116
views
How to get an API key without registering an application?
How can I get an API key for doing 10K daily requests, without registering an application? Because I only use a script for my Social Network analysis project.
4
votes
1
answer
86
views
Is there a way to fetch my flag quota?
I would like to stop flagging when I start running low on flags. Is there any way the API can tell me not only the flag options, but also whether I have any flags left and if so how many?
4
votes
1
answer
334
views
Getting an API key for an application without a server
When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.
How can I fill out the form required ...
4
votes
1
answer
115
views
How to retrieve notifications for a given user.
There seems to be a few of these "dev-tips" so I'll share a problem I have.
To notify a user of comments directed to them, we use the users/{id}/mentioned method.
However, notifying a user of ...
4
votes
2
answers
2k
views
What is the throttle interval or threshold?
Resolution:
I have confirmed that a constant interval of 170 ms will run without error.
// 30 per 5 sec = 6 per sec = interval 166.6 ms
Soapi.RequestQueue.setInterval(170);
Soapi....
4
votes
0
answers
66
views
Get total question views via API
I can currently get the total number of questions for a tag by using the total filter. This works well, but I'd like to get a total views count for the questions in that tag. I could iterate over each ...
4
votes
0
answers
185
views
Alternative to official app?
I started using the Stack exchange app, but realized it was abandoned and just plain sucks. Now that I abandoned it though, I really miss push notifications and having all 8 sites I'm active in one ...
4
votes
0
answers
53
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 ...
4
votes
0
answers
57
views
API response doesn't indicate the nature of a rejected question POST
I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data.
When I do this on ...
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
0
answers
602
views
What should I put in redirect_uri for implicit OAuth 2.0
From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error
...
4
votes
0
answers
48
views
Why does adding fromdate=<long time ago> return a different set than without it?
I've been trying to get some stats for the Windows 8 challenge over on Super User. I've noticed that there are some questions missing if I add fromdate=0. Why is this?
Without fromdate:
http://api....
4
votes
0
answers
70
views
Is it OK to have a test account for a developing client?
I'm currently trying to implement an agorava component for Stackoverflow, and for testing purpose, i would like to create a test account, which would have one question asked, and would maybe send ...
4
votes
0
answers
218
views
Announcement: StackExchange API Development Wiki
RIP August 24, 2010 - April 26, 2013
Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is either ...
4
votes
0
answers
71
views
recommended buffer size for markdown fields is conservative
I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000.
So I redefined to nvarchar(max), pulled all users in the stack ...
3
votes
2
answers
110
views
What will be rate-limit of two different applications with two valid API keys from same IP?
What will be the effective rate limit of two different applications with two valid API keys from the same IP address?
Will it be whatever only one of the keys can use? So maximum 10k?
Will rate-limit ...
3
votes
1
answer
159
views
Can I have a separate account just for testing my Stack App?
I want to test my Stack App to make sure it works properly without and problems. Is it allowed if I use a separate account just for this purpose?
3
votes
3
answers
155
views
How to generate a list of users ranked by activity (question or answer count).
The use case is to generate a list of users ordered by activity, i.e. question_count or answer_count.
e.g.
total_(questions|answers) display_name [user_id]
------------------------------------------
...
3
votes
2
answers
82
views
When asking/answering a question on SE sites; Is there a way to fix the page in place so that you only see the displayed output as you type?
I am a touch typist and would like to know if there exists a way to type a question\answer with all the necessary formatting without the page automatically scrolling back up to where you input the ...
3
votes
1
answer
211
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?
3
votes
1
answer
2k
views
How to get Question/Answer body in the API response using filters?
I am specifically looking to get the question/answer body back. Is it possible?
I am looking through the API documentation and I'm confused about how to make a call with filters.
Sample call I'm ...
3
votes
2
answers
2k
views
Logging out so another user can log in
Just in the process of final testing for an iPad SE browser, and uncovered some odd behaviour.
I'm using Google for authentication. If I deploy a clean version of the app, and authenticate, I get the ...
3
votes
1
answer
79
views
How to get the questions from hot/week/month tab?
I am only interested in the questions from hot/week/month tab.
The iPhone app MyStacks can show week/month tab, but I did not find such API in the documentation.
3
votes
2
answers
83
views
How can I see the next page of favorites using the SO API?
http://api.stackoverflow.com/1.0/users/113124/favorites
only shows me 30 favourites. How can I see the rest?
3
votes
2
answers
679
views
Silverlight download JSON from API fails
I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish.
Here is my code:
public void ...
3
votes
3
answers
288
views
How to calculate a list of users ranked by question favorite count totals.
The API provides methods to sort and filter individual questions by favorite count.
In order to calculate the question favorite count totals per User, some grouping and set operations are required.
...
3
votes
3
answers
249
views
How to monitor API version and site state
I want to make an application in which the used API will automatically be updated when a newer version is released. What is the procedure to check if a newer version is available or not?
How can I ...
3
votes
4
answers
174
views
How do I get the ten reputation required to post an image for my app?
Funny that in order to enter and include a screenshot, you need ten reputation points. Go figure.
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
2
answers
556
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.
...
3
votes
1
answer
4k
views
HTTP 400 "Bad Request" while using "access_token" in request Url
I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
3
votes
1
answer
59
views
Is the "link" URL enough to uniquely identify an "inbox_item"?
I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item?
Is the "link" URL enough to uniquely identify an "...
3
votes
2
answers
441
views
Stacky JSON error
I'm trying to use Stacky to grab a question from Stackoverflow, however I always an error. The error thrown is:
JsonReaderException was unhandled -
Unexpected character encountered while parsing ...
3
votes
3
answers
3k
views
Possible Gzip or data format problems when trying to read JSON.
This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...