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
3
votes
1
answer
75
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
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 ...
3
votes
2
answers
300
views
Is there an api to post questions without using the websites interface?
I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
3
votes
2
answers
172
views
URL Format: Special Characters
I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C".
Code Poet's SOAPI javascript formats the route thusly:
http://api....
3
votes
1
answer
186
views
StackExchange API, OAuth for other sites than Stack Overflow
I'm implementing the OAuth system through StackExchange API, here is the guide.
I've already integrated the OAuth system with stack overflow with the following parameters:
Token URL: https://...
3
votes
1
answer
387
views
What write in app access for sending data
Here is my app's code:
However, I get this error:
3
votes
1
answer
123
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
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
3
votes
1
answer
94
views
Do the questions tagged "placeholder" need it explicitly in the title?
I have create a placeholder question, but just noticed that all the other ones have "(placeholder)", "[PLACEHOLDER]" or some variant in the title.
Do I need to include it in the title if it's tagged?
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 ...
3
votes
1
answer
195
views
How do I add newlines when editing a post body via the API?
I am editing the tags of a question via the API, and to do that you have to pass the body and title etc.
I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
3
votes
1
answer
1k
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
1
answer
5k
views
How to convert a (javascript) date to the API timestamp format?
When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format:
fromdate=1380326400&todate=1380412800
What is this date format? How ...
3
votes
1
answer
200
views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again.
I've search through profile, at stackexchange.com but couldn't find it.
3
votes
1
answer
67
views
How should we test the new write-mode comments functionality?
Endpoints which write public content are much harder to test. What's the best way to test the new comments functionality without having to post to real threads?
I have seen the Charles web proxy ...
3
votes
1
answer
165
views
How to limit the number of responses in Stack.PHP?
How do I limit the number of results provided by Stack.PHP (a library wrapper over the Stackexchange API)?
For example, how do I get the first 50 questions tagged with a keyword?
The query I ...
3
votes
1
answer
289
views
Creating a PHP script to use the stack api
I would like to know how to use the Stack API and get all questions with a particular tag. I am coding in PHP. So I would like to write a script which can get all questions with a particular tag. I ...
3
votes
1
answer
170
views
Is it possible to register V2.0 apps that are not web apps?
I want to register an app that will use the V2.0 API here: https://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name.
What can I possibly ...
3
votes
1
answer
438
views
How do I get a GreaseMonkey/UserScript to interact with the Live Preview?
I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
3
votes
1
answer
2k
views
Invalidating access token vs de auth app?
Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1
answer
347
views
API Time zone difference problem
I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
3
votes
1
answer
97
views
Throttling Question
Hey all,
I keep getting kicked out of the API.
Is throttling set to 30 requests per 5 seconds?
j
3
votes
1
answer
109
views
How many ids is 'too many'?
This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere.
Now, I could run binary search and find out, but I ...
3
votes
1
answer
225
views
Getting Question data using stack.PHP fails after a certain number of requests
I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer.
I am running into an issue where I'm sending too many requests and ...
3
votes
2
answers
473
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
1
answer
135
views
Eligibility for the competition?
I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
3
votes
3
answers
229
views
Negative voting questions?
I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO.
I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
3
votes
1
answer
79
views
Differentiate Staging Ground posts from regular questions
Version 2.3 of the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it ...
3
votes
1
answer
73
views
How do I search answer bodies for Markdown links?
The /search/excerpt query enables searching answers for specific text, but searching for Markdown links returns results that don't seem to match the query at all. For instance, the following query ...
3
votes
1
answer
103
views
When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?
I'm using the Questions Advanced Search API to retrieve Stack Overflow questions with a specific tag that were created in the last 15 minutes.
I've written a script which runs every fifteen minutes ...
3
votes
1
answer
125
views
When I perform an API call via browser, it displays pretty JSON. How come when I do the same request via nodejs in my console it is garbled? [duplicate]
If I browse to https://api.stackexchange.com/2.2/search?site=stackoverflow&tagged=racket via Chrome, it displays a bunch of JSON containing the appropriate content. But when I run the following ...
3
votes
1
answer
128
views
How to query the Stack Exchange API using an OR operator?
I want to query Stack Exchange by title including optional keywords (one of).
How can I query by OR operator?
For example:
/search/advanced?page=1&tagged=java&q=title:http OR class&...
3
votes
1
answer
113
views
Cannot get redirect_uri to work
This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
3
votes
1
answer
130
views
Accessing the Stack Exchange API not on behalf of an user? [duplicate]
I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use.
However, the Authentication documentation says I'd need to use the OAuth 2.0 ...
3
votes
1
answer
2k
views
Implicit OAuth flow puts the access token in the hash?
The implicit OAuth flow puts the access token in the hash.
However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
3
votes
1
answer
416
views
iOS Client for stackoverflow always throws redirect_uri not a valid uri
I tried to use the Stack Exchange API to authenticate the user.
I have registered my app with redirect_uri as stackexchange.com/oauth/login_success.
But it always throws "redirect_uri is not a valid ...
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,
...
3
votes
1
answer
44
views
Top answers for a tag is returning user details?
I am expecting top answers for a particular tag here. But it returns user details.
Is anything wrong here?
Using:
/2.2/tags/java/top-answerers/all_time?site=stackoverflow
3
votes
1
answer
92
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 ...
3
votes
1
answer
148
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 ...
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 ...
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 ...
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 ...
3
votes
1
answer
106
views
How to get a list of sites that a user is a member of?
After spending many hours trying to post a question using /questions/add and repeatedly getting the error message "The account associated with the access_token does not have a user on the site", I ...
3
votes
1
answer
328
views
Does the API key need to be kept secret?
For a project of mine, I need to know if I need to keep the API key secret or not.
If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and byte-...
3
votes
1
answer
568
views
Receiving error "Unexpected domain on proxy URL"
I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose.
I am stuck on the point of authenticating the user. I followed the ...
3
votes
1
answer
62
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1
answer
156
views
List of possible values for user_type on API for users
I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type.
So far I have only seen a value of "registered" ...
3
votes
1
answer
222
views
OBSOLETE - /search method, returning the body of the questions
Probably this is a documentation fault.
For the search method, the parameter list doesn't say anything about an optional body, but looking at the Returns description shows:
"body": {
"...
3
votes
1
answer
325
views
What are the mechanics of private API beta badge/reputation rewards?
Update:
George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...