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
2
answers
81
views
How can I get a list of questions posted from a certain IP address (a.k.a an organization)?
I read an article by David Robinson: https://stackoverflow.blog/2017/02/15/how-do-students-use-stack-overflow
He filters questions posted by users at educational institutions identified by their ISP. ...
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 ...
-4
votes
1
answer
175
views
How to pass the api client credentials for stackexchange api in python [duplicate]
I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys.
My problem is,...
3
votes
1
answer
136
views
How to get questions, under a tag, which have at least one answer with 10+ votes?
I want to get all the questions under a tag which has at least one answer with 10 or more votes.
I searched the Advanced Search documentation and searched Py-StackExchange's documentation, but I ...
1
vote
0
answers
108
views
Bounty question collector
I want to write a script to collate all bounty questions from all Stack Exchange sites.
I have heard of Tampermonkey and I have no server access.
Could someone explain how I should go about writing a ...
1
vote
1
answer
118
views
How to get the user's last seen time in user's profile
In user's profile page, there's a last seen xx mins ago info:
How can I get this information in user object or other object field?
9
votes
1
answer
4k
views
List all tags in use on stackoverflow
I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all.
How do I do it?.
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 ...
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 ...
5
votes
1
answer
405
views
How to use Stack Exchange WebSockets?
I am developing a Visual Studio Extension where I would be knowing about the activity on my posts. I found out that wss://qa.sockets.stackexchange.com is used for this purpose. Can somebody help me in ...
2
votes
1
answer
96
views
Get everything touched by a user?
I'm trying to figure out the best way to compile all "post threads" (Questions and all related Answers and Comments) where a specific user owns any of the {Question, Answer or [a comment on either the ...
3
votes
2
answers
613
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
3k
views
Unable to install script on Chrome
I posted a question on Meta Stack Overflow, and from there I was directed to install this script.
When trying to install the script in Chrome, I get the following error:
Apps, extensions and user ...
7
votes
1
answer
706
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
0
votes
1
answer
159
views
Write comment API failing with error_id: 500
I am trying to test post comment with the following URL
https://api.stackexchange.com/2.1/posts/10305691/comments/add?key=HIDDEN&access_token=HIDDEN&site=stackoverflow&preview=true&...
2
votes
0
answers
116
views
Can we source job postings from stackoverflow.com/jobs?
Is there an API for stackoverflow.com/jobs?
What are the terms and Conditions of using data from stackoverflow.com/jobs and its API?
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
130
views
trying to query answers for a question using the stack.php
I am trying to query stackoverflow and route it to my website via the following
<?php
require_once './stackphp_source_0.4/src/api.php';
require_once './includes/function.php';
// Begin by getting ...
0
votes
1
answer
177
views
What token parameters to use for OAuth2 Authorizaton?
I'm trying to connect a piece of desktop software to the Stack Exchange web service through OAuth2. I've read the docs but the problem is that what it talks about is subtly different to what ...
6
votes
1
answer
1k
views
Is there a limit on the data that is returned from stackoverflow API calls?
I have the following query, which is identical to the example they give in the documentation:
http://api.stackexchange.com/2.1/questions?fromdate=1391756400&order=desc&site=stackoverflow&...
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 ...
1
vote
1
answer
312
views
"client_id not provided" when trying to obtain an access_token
So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back.
Instead I get an ...
3
votes
1
answer
400
views
Same access token between different fetch_token requests
TL;DR:
Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same?
Scenario:
An anonymous user authenticates with Stack ...
6
votes
1
answer
147
views
How do I get the no. of upvotes a person has received for a particular tag?
I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't think there is a direct query that will give ...
4
votes
1
answer
87
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/...
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?
1
vote
1
answer
77
views
How to get visits per day via the API?
At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
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 ...
12
votes
1
answer
415
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
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 ...
2
votes
1
answer
3k
views
Bad format returned by Stack Exchange API, not GZip?
I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or Ionic.Zlib....
2
votes
1
answer
668
views
Unable to download data from the API using UNIX wget?
I want to download the JSON data from this sample API call into a file.
I tried using wget, like so:
wget -O ~/ks/json.txt "http://api.stackexchange.com/2.2/search/advanced?pagesize=5&fromdate=...
3
votes
0
answers
156
views
Moderation request: Please make `app-key` a synonym of `api-key`
Refer to Are "api-key" and "app-key" the same thing?.
Although I've now retagged the questions that used app-key, there are still plenty of places where the redundant term is ...
1
vote
1
answer
154
views
Is it okay to just send the API key (without implementing oauth-2 login)?
I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.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 ...
6
votes
2
answers
1k
views
Am I accessing the API correctly?
When running the code
$.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) {
// Do some stuff here....
});
I get the error
Failed to load resource
Am I accessing this wrong?
1
vote
1
answer
79
views
What's the meaning about " is_answered" field of question object?
I saw the question object has a is_answered field.
I mentioned that there're the following cases:
The is_answered field is true, and the question has an accepted answer.
The is_answered field is true,...
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 ...
1
vote
1
answer
152
views
What license is the Stack Exchange API released under? MIT?
Are there any license requirements the Stack Exchange API?
Which license is it released under?
If I were to develop an app, would I have to credit Stack Exchange API?
2
votes
1
answer
95
views
How to Create a Multi-tag URI Request to /questions
Just want to confirm if I'm doing this right. The /questions guide doesn't mention this.
Let's say I want to ask for multiple tags in one request, am I doing this right?
https://api.stackexchange....
2
votes
1
answer
220
views
Keep getting 500 "Internal error" in requests with an access token
I'm trying to fetch some data from the Stack Exchange API
I have a valid access_token and registered key but I keep getting internal error as a result.
Here is the request URL:
https://api....
2
votes
0
answers
128
views
JavaScript API Library for StackExchange API?
I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
1
vote
1
answer
624
views
400 (Bad Request) error in time of creating question using StackExchange API
I am trying to create a question in StackOverFlow using write-access API(https://api.stackexchange.com/2.2/questions/add). I have provided the parameters as required but a "400(Bad Request)" error is ...
2
votes
0
answers
73
views
I'm having a hard time finding resources for using Stack Overflow's API in Python to query some questions [duplicate]
I can just go through documentation but it'd be a time saver if I could find some sort of tutorial or intro or anything. Does anybody happen to have any resources, notes, or code examples they could ...
1
vote
1
answer
2k
views
json with list of all user's on stackoverflow
I am trying to get the list of all user's in JSON format (as provided by the API) (using jQuery jsonp)
What I found is:
pagesize – The number of collection results to display during
pagination. ...
5
votes
1
answer
248
views
Is there a way to specify how long I want an access token to be valid for?
I am following the explicit authentication path. I am not passing no_expiry as part of the scope.
After the final POST step, I receive back an expires value of 86399 (just shy of a full day).
It ...
6
votes
2
answers
463
views
How to get a User's picture (Avatar)
I've seen a couple of Stack Apps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
2
votes
1
answer
81
views
Exclude records where field is present (ie., return only open questions)
How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)?
Example:
Results for Closed questions include field closed_date=1234567890.
...
4
votes
2
answers
96
views
Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?
I'm developing a browser extension that lets users mark answers as favorites. The default Stack Exchange behavior when the favorite button is clicked messes everything up, though. Even if I set my own ...
6
votes
1
answer
132
views
Should feature-requests, for third party apps, be flagged as "not an answer"?
I spotted this "answer" as a first-time post:
Feature Request
Please add support for proxies.... It would be helpful to people behind proxies.
Like "ME"
I was going to flag it as "Not an ...