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
114
views
Does there exist an app that allows me to download all of my questions and answers on all SE sites?
I'm interested in downloading a backup of all my questions and answers on all Stack Exchange sites in the form of markdown files. I'm already aware of this SE data explorer query, but this downloads ...
2
votes
1
answer
91
views
How to get user information of all sites merged
I'm actually using https://api.stackexchange.com/2.3/users/${userID}?site=${site} to get some user information from a specific site on Stack Exchange, but I want to get the information for all sites ...
2
votes
1
answer
87
views
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, incl. differences between them?
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, including differences between them?
Basically, I'm looking for onboarding documentation ...
2
votes
1
answer
199
views
How do you access the StacksEditor to set markdown from a user script?
I'm trying to revive Astro CB's auto edit corrections script. I've got a lot of it updated, improved, and working with Stack Exchange changes since 2015.
One thing that stuck on is setting the ...
2
votes
1
answer
384
views
How can I retrieve more than 25 pages from the Stack Exchange API v2.3?
I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100).
The ...
2
votes
1
answer
140
views
Can "trends" be queried with the Stack Exchange API?
I've studied the Stack Exchange API to some extent (although I'm a newbie to such things), and it appears I can query the database using many criteria. But does Stack Exchange store any "trends&...
2
votes
1
answer
886
views
How to handle default compression on response with Java's HttpURLConnection? [duplicate]
I sent a request for question with no parameters to
https://api.stackexchange.com/2.2/questions?order=desc&sort=activity&site=stackoverflow
I received a response of 9764 bytes stored in ...
2
votes
2
answers
114
views
How to update tags without modifying question body? [duplicate]
I made a call to update the question tags using API - https://api.stackexchange.com/docs/edit-question however the body formatting changes when I edit the tags with the same body received (with HTML ...
2
votes
1
answer
498
views
"Could not parse uri [redirect_uri]" when trying to authenticate
I was just reading into this API and wanted to test it out before I would use it in a project.
I have added an application on this site and got all of the keys.
When I try to authenticate a user with ...
2
votes
1
answer
129
views
API to submit a Suggested Edit
Is there a way of using the API to submit a suggested edit?
This would allow users without the edit privilege to at least submit their suggestion.
There is no create/add endpoint listed in the docs ...
2
votes
1
answer
96
views
How to get the user's pinned sites?
I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.
2
votes
1
answer
59
views
How to get "usage guidance" for a tag from the Stack Exchange API?
Stack Exchange site tags have "usage guidance", both a 1-paragraph "excerpt" and a longer tag description, as e.g. for JavaScript here. Is it possible to get this data through the API? The options ...
2
votes
1
answer
105
views
I am unable to get the desired response through Stack Exchange API, using Postman [duplicate]
I am using this: https://api.stackexchange.com/docs/answers#page=3&order=desc&sort=activity&filter=default&site=stackoverflow
to get the response.
Is this the correct URI?
I have ...
2
votes
1
answer
85
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
2
votes
1
answer
84
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
2
votes
1
answer
115
views
Can I get the user's top percentile, for tags, using the API?
this is the data I receive when asking for a user data with the Stack Exchange API:
{
"items": [{
"badge_counts": {
"bronze": 27,
"silver": 12,
"gold": 0
},
"...
2
votes
1
answer
95
views
An exhaustive list of URL formats for a URL representing a user
I am developing an application that will ask the user to type in his Stack Overflow URL, meaning the URL of his Stack Overflow profile,and then get something from the Stack Exchange API.
Is there a ...
2
votes
1
answer
79
views
How do I get the number of views in the past day on a question?
How do I get the number of views in the past day (or within a specific time-range) on a question with the Stack Exchange API?
2
votes
1
answer
73
views
What does "in practice" mean here?
From /answers/{id}/delete:
In practice, this method will never return an object.
For me, "in practice" means that the method will maybe return an object. But why? That's not good from an application ...
2
votes
1
answer
212
views
How to get the number/count/total of tags/badges/something from the API?
I see we can fetch tags via the API, which works fine
but, sadly, there doesn't seem to be a way to get the count of all possible tags.
Currently the Stack Overflow Tags page shows 36 tags per page ...
2
votes
1
answer
157
views
bad_parameter when using key with todate?
I'm having trouble using my API key with the todate parameter. My query works fine with todate:
$ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
2
votes
1
answer
135
views
Can I pass multiple filters?
I've tried adding filter=total and filter=withbody in the same request but get the following error:
{"error_id":400,"error_message":"Invalid filter specified","error_name":"bad_parameter"}
How should ...
2
votes
1
answer
196
views
Implicit Flow Isn't Redirecting
I'm using the WebAuthenticationBroker to allow users to log in to their account:
var accessToken = "";
var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
2
votes
1
answer
87
views
`fromdate` and `todate` parameter in `/me` call
What if we don't give the fromdate and/or todate parameters in a /me call?
Will it give result of user of all times? It's not mentioned explicitly in documentation.
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 ...
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 ...
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 ...
2
votes
1
answer
90
views
Can I post a suggestion for a stack app? [duplicate]
I have an idea for a stack app. However, I can't program it. Can I post an app suggestion?
2
votes
1
answer
200
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.message....
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&...
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 ...
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 ...
2
votes
1
answer
51
views
Use case for /render endpoints?
In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
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((&...
2
votes
1
answer
169
views
How to use the Stack Exchange API in PhoneGap?
I want to write a program using PhoneGap. How can I use the Stack Exchange API in PhoneGap?
2
votes
1
answer
108
views
Top questions by tag and period
I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example).
How can I do this?
2
votes
1
answer
351
views
Javascript SDK init fails on sytax error...why?
I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
2
votes
1
answer
79
views
How can I get a list of favorite/ignored tags?
I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1
answer
195
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1
answer
82
views
How can I re-authenticate StackAlert Addon
Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message
key is not valid for passed access_token..
How ...
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
58
views
What is the "Manage API Keys" link to the right of the StackApps.com frontpage?
When I click on it, I get a page that goes "Your Applications", then "No applications registered". Needless to say, this is different from "Manage your applications" link on the frontpage because I do ...
2
votes
1
answer
574
views
Are "api-key" and "app-key" the same thing?
When tagging my last couple of questions about registering for a key, I noticed there are two similar-looking tags:
api-key - 35 uses and a tag wiki
app-key - 10 uses (Update: retagged), no tag ...
2
votes
1
answer
226
views
Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?
I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
2
votes
1
answer
80
views
how to get the number of profile views
according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request
/2.0/...
2
votes
1
answer
67
views
User profile_image dimensions
I'd like to use the user profile_image string property (which is the url of a user's avatar image e.g. http://www.gravatar.com/avatar/fbc10e7e541ba1f171a06af062bef7c0?s=128&d=identicon&r=PG) ...
2
votes
1
answer
67
views
The migrated predicate on advanced_search seems underachieving
What does the migrated parameter to the advanced_search method mean? Setting it to true on CS finds only one question that has been migrated away, out of several:
{
"items": [
{
"...
2
votes
1
answer
135
views
Pagination of users ordered by reputation
I know I can retrieve a page of users ordered by reputation using these apis:
http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1
http://api.stackoverflow.com/1.1/users/...
2
votes
1
answer
143
views
API v2.0 Developing desktop app
If I am developing a client side application, what kind of domain should I provide to 0Auth callback? Can it be a custom application-centric scheme (like myapp://oauthcallback/)?