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
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
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((&...
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 ...
2
votes
1
answer
216
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: ...
3
votes
1
answer
71
views
Some blank properties missing
I am using /me/associated. I haven't posted any question in one account, so the response comes as:
"top_questions": [],
"top_answers": [],
"question_count": 0,
"answer_count": 0,
in the same browser ...
2
votes
2
answers
325
views
How to set the width of an image in the body of a question?
I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
3
votes
1
answer
71
views
Reputation_change has the historical total rather than the daily delta?
I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has:
{
on_date: 1447018487,
...
4
votes
1
answer
104
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 ...
7
votes
2
answers
313
views
How to get a User Id
Is there a way to get the user id so I can use the method /users/{id}
I guess that for security you cannot asked the API give the id of a user with this openid Identification but is there another way?...
2
votes
0
answers
55
views
Mass find and replace in answers, questions and titles of questions
1. Briefly
I don't find, how I can mass replace string in multiple answers, questions and titles of questions of any Stack Exchange site.
2. Example
For example, I want to replace incorrect form of ...
2
votes
1
answer
566
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=...
2
votes
1
answer
81
views
Where is "items" & "badge_counts" documentation?
Where is the items & badge_counts documentation?
This is returned as JSON. I am using the /me/associated query function.
1
vote
1
answer
437
views
Offline cache of the API - for when the developer has no internet.
Is there some fake API program that "simulates" the API? Just I'm going on a long car journey tomorrow, and I won't have an internet connection on my laptop and don't want to waste the whole journey ...
0
votes
1
answer
122
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
116
views
How can I edit a post with the API and python?
I am a real beginner, but want to know more about using the API.
I need to be able to get a post tagged with installation and the have it displayed to me. I then enter either 1 or 2, and it will ...
7
votes
1
answer
1k
views
Is it safe to embed my API key into my javascript-only application?
I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
3
votes
1
answer
94
views
How to get the 10 most recent questions with accepted answers based on a given tag?
I am trying to figure out how to get the 10 most recent questions from the Stack Overflow site, that have been answered, based on a given tag (such as 'Java').
I looked at the documentation but I ...
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?
1
vote
2
answers
287
views
How to search my threads based on some key words?
As I have already many threads in some StackExchange sites, sometime I would like to be able to search among them, for instance, based on some key words.
Does anyone know how to do that? Thank you!
4
votes
1
answer
116
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 ...
1
vote
1
answer
135
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 ...
4
votes
1
answer
368
views
Strange encoding for JSON output
I'm trying to create an R API. Here's some basic code for processing JSON:
library(rjson)
fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F))
As I look into this, the output of ...
0
votes
1
answer
1k
views
Handling working of PHP API key on webpage
I'm building a phpapi and in this api will be giving my clients API key generated for each client.
So basically my client will be sending client id, his personal data(to be stored in DB) & an ...
4
votes
1
answer
308
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 ...
2
votes
1
answer
86
views
Why is `page` and `page_size` returned in common wrapper object?
page and page_size returned in common wrapper object, if I run /me/associated request. Why is it so? I am asking this because we have already sent these parameters as request. So getting the same ...
3
votes
1
answer
91
views
`body` of `inbox_item` returning only excerpt, not full body
I have run /inbox/unread function. It returns a list of inbox_items.
The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item.
According to ...
1
vote
1
answer
64
views
`types=main_site` in `/me/associated` gives `meta_site` accounts also
When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
2
votes
1
answer
73
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 ...
1
vote
1
answer
123
views
Maximum tags for a question on any SE site [closed]
Is the maximum tags for all SE sites (and those in the future) 5?
5
votes
1
answer
135
views
Using OR with featured questions
My question is similar to: Getting questions that have a specific tag or tags?
What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:
...
3
votes
0
answers
67
views
API for the mobile feed, as seen in the Android app?
I'm creating an app for Windows 10, and I would like to provide a similar experience to the official Android and iOS apps (while keeping my own identity, of course).
One feature seen in the official ...
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&...
1
vote
1
answer
217
views
JSON parsing, won't work
I'm using the Stack Apps API. Retrieving questions by tags works well, and the JSON is returned. Now I need to parse the JSON and there is something wrong with my code:
$.ajax({
url: 'http://api....
7
votes
3
answers
368
views
When does the judging take place?
I am planning to work some more on my apps tomorrow and get some last minute changes implemented. However, I notice that:
The API Contest winners will be picked the first week of August.
...which ...
2
votes
1
answer
96
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 only ...
3
votes
0
answers
68
views
It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]
When we send this request:
https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
3
votes
0
answers
152
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
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 ...
1
vote
1
answer
260
views
Implicit OAuth authentication is not redirecting
I'm trying to build a simple iOS application , with login feature to stack overflow network.
I've read the documentation and choose to use Implicit OAuth2.0.
I've already registered an StackApps, so ...
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=...
5
votes
1
answer
545
views
How to register application for API implicit authentication?
I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...
2
votes
1
answer
237
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 ...
5
votes
1
answer
129
views
Moderation request: Flags unhandled for months, please approve
Note that Stack Apps is its own meta site.
Sorry for nagging the mods, but I have flags that have sat in the "active" state since June 29th, and these flags apparently don't expire.
Can a moderator ...
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?
3
votes
2
answers
703
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 ...
2
votes
0
answers
278
views
Stack Overflow question downloader in markdown or HTML format?
I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for those....
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
57
views
Clickable link in "Try It" section of some doc pages
In the "Try It" section of some doc pages, the link is not present.
It is present in the below image
Its not present in the below image
1
vote
1
answer
167
views
Locked vs Closed
Whats the difference between locked and closed API wise. What I mean is why is this question locked:
https://money.stackexchange.com/questions/4755/should-i-get-a-credit-card-closed
But this one ...
9
votes
1
answer
508
views
API Key limit 10k is Per IP Address or Globally?
Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key.
When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...