All Questions
Tagged with stack-exchange or support
858 questions
4
votes
1
answer
309
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
2
votes
5
answers
4k
views
Get user data using curb/Curl in Ruby
I am trying to get user data in my Rails app.
I am doing this:
url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext"
curl = Curl::Easy.new(url_so)
curl.perform
data_obj = ...
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 ...
4
votes
1
answer
5k
views
how to get access token from redirect uri in android
I enabled both client side flow and desktop oauth redirect url, and manage to get the user login and get redirected to https://stackexchange.com/oauth/login_success#access_token=xxxxx
But how can i ...
3
votes
1
answer
298
views
Localhost test Stack App authentication: error 'redirect_uri' does not match
I tried the answer at "Can the redirect_uri contain port number"?
But I am getting the following error:
Provided redirect_uri does not match the redirect_uri this code was created with
My access ...
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 ...
6
votes
2
answers
505
views
Is there a Stack Exchange icon available?
StackAuth /sites route provides all the site's icons except for the one of the Stack Exchange master site.
Could you please provide it in some way (a static SVG would be good)?
0
votes
1
answer
175
views
How to search ALL sites with the advanced API?
I can make a request to Stack Overflow as follows, which searches with keywords in titles:
/2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow
My question is ...
4
votes
0
answers
222
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 ...
3
votes
0
answers
207
views
StackPrinter Greasemonkey script is broken [closed]
I have previously installed and been working with the "StackPrinter" Greasemonkey script -- which displays a button on each Stack Exchange question to print that question with StackPrinter.
...
8
votes
1
answer
2k
views
How to make a Stack Exchange API call, using my key
I have a Meteor application and I'm making API calls like:
var urlString = "http://api.stackexchange.com/2.2/users/"+surl;
HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}},
function (...
4
votes
1
answer
716
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 '...
1
vote
1
answer
283
views
OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string
I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
5
votes
1
answer
350
views
Is there an offline copy of the API documentation?
I'm trying to find a way to get all the information in the API in one printable PDF,
complete with the examples given in the documentation.
Is there anyway I can do this?
3
votes
1
answer
370
views
How do I actually begin to code, in Node, using the Stack Exchange API?
I am a noob at coding, so forgive me for this rather trivial question.
I am trying to make a program that can access the Stack Exchange API. Specifically I want to make a program that gets live ...
1
vote
1
answer
567
views
Is there a SQL-like query for the API?
I've looked at the API docs.
However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc).
Example: data....
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 ...
2
votes
1
answer
128
views
Why answers don't have a "locked" attribute?
When looking at an answer, I can see that there is no locked_date attribute, like there is for questions. IIRC, answers can be locked by moderators.
Also, if a post is unlocked, is that field ...
3
votes
1
answer
2k
views
SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight
I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding')
Should we expect, in the 1.0 ...
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
116
views
Find out whether a user has association bonus
I searched for this in the api docs and on this page but couldn't find any information:
I have an api token of a given user. Is there a way to find out whether this user has association bonus rights?
...
6
votes
1
answer
108
views
As a user, where in the web UI could I find all the tokens I have granted for Stack Apps?
I want to manage or revoke access tokens I have granted to 3rd party Stack Apps, but I have a hard time to find them in the UI.
9
votes
1
answer
192
views
Is there any support for Area 51 in the new API?
Does the new API support Area 51? Will there be support in the future?
2
votes
1
answer
146
views
OBSOLETE - How to get the actual “body” of a question or answer?
How do I actually get the body (i.e. the textual content) of any say question or answer.
For example, for question (id= 7406104), I call:
http://api.stackoverflow.com/1.1/questions/7406104
But in ...
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
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 ...
5
votes
0
answers
572
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
2
votes
2
answers
720
views
Is it possible to create a private Q&A site using the Stack Exchange API?
I want to create a sort of private Q&A site to allow university students of the same courses to communicate. Is it possible by using the Stack Exchange API?
2
votes
1
answer
155
views
Can I make a Private Application?
I wish to access the API from a purely internal application; no visible app to the public, no promotion, no OAuth. That seems impossible via the key registration form; am I missing something?
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 ...
1
vote
0
answers
72
views
Script to set the default image description text?
Stack Exchange sets enter image description here as the default description — this is mainly useful for new users who may not know that the title can be modified.
I'm looking for a script to ...
1
vote
1
answer
113
views
The API is not returning a value that I know it should
My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:
/2.2/users/2855348/associated?types=meta_site;...
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 ...
17
votes
1
answer
291
views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
6
votes
1
answer
341
views
Complete list of sites to @include / @match into my script?
This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
12
votes
2
answers
6k
views
Can the redirect_uri contain port number?
Is it possible to have the redirect_uri contain a specific port?
For example: example.com:8080
Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
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&...
6
votes
1
answer
296
views
Get Key for my application
I am creating Stack Overflow client application and have reach limit to request. So I decided to get the Key from my application, but got a little confused.
When I requested the Key I provided ...
8
votes
1
answer
126k
views
sorting ascending vs descending
I don't understand the difference between ascending and descending?
Surely ascending means the most active/recent/popular/A first, and descending means the least active/recent/popular/Z first?
But it ...
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 ...
5
votes
1
answer
387
views
Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?
We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
1
vote
1
answer
235
views
Will the Stack Exchange API work with an org-specific Stack Overflow site?
We have a company-specific Stack Overflow site for folks to ask questions with the company. It has a *.stackoverflow.com domain/URL.
Would I be able to use the Stack Exchange API to access the ...
4
votes
1
answer
151
views
How to get a list of all StackExchange employees?
For a particular userscript feature, I need to get a list of all Stack Exchange employees. The list would be updated every day (per SE website). What is the most efficient way to do so?
I looked at ...
2
votes
1
answer
143
views
Can the API Edit a Question, changing only one field?
The documentation for the edit question method (/questions/{id}/edit) is somewhat vague.
Are all of the parameters required?
For example, if the only field I want to change in the question is tags, ...
4
votes
0
answers
124
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
1
answer
422
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
73
views
Can we find the time of a vote using the API?
I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
1
vote
2
answers
89
views
Is there a glossary of the properties returned in response to the Stack Exchange API?
While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?