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
1
vote
1
answer
268
views
Get access token for matrix bridge
I want to build a bridge for my matrix server.
To read my inbox an access_token is required.
Do I really need to register an application just to get one access token?
1
vote
1
answer
455
views
`key` is not valid for passed `access_token`, token not found (although seemingly valid authentication)
I've made an authentication flow for my app (which wants to read your inbox and sent notifications on your desktop). Which can be found here
For this, I have created a stack app on this site. With the ...
1
vote
1
answer
321
views
How to analyze and debug Stack Exchange's Javascript?
When writing userscripts, I often want to be able to look at what Stack Exchange's Javascript is doing. Getting to the code that the browser runs is easy enough - in the Network tab, I can see network ...
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 ...
1
vote
2
answers
119
views
How to use the StacMan library to add a new question?
I didn't find any client.Questions.Add method.
So, how do I use the StacMan library to add a new question ?
Any sample C# example?
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
68
views
Where could I get the EER Diagram of stackexchange.com?
I would like to know if it is possibe or avaliable the stackexchange sites database model.
If yes, where could I get it?
1
vote
1
answer
80
views
Can I pass a filter to a write method?
I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
1
vote
1
answer
63
views
How do I future-proof my app to work with every SE site?
I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible.
If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
1
answer
729
views
No 'Access-Control-Allow-Origin' for oauth/access_token
Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call
$.ajax({
url:"https://stackexchange.com/oauth/access_token",
type:"...
1
vote
1
answer
89
views
wrong results of /search/advanced
I am querying mobile in stackoverflow. The second result is an answer. Results of /search/advanced is giving only questions when queried mobile. This is applicable for all other terms which are to be ...
1
vote
1
answer
114
views
Is my script's API usage okay?
I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2.
I've already asked there for a review of that Python code, but I would ...
1
vote
1
answer
116
views
Why is the `site` parameter required in `/me` call?
I want to query information about the logged-in user using me, and this site parameter is creating some small problems.
I am developing a visual studio extension where upon logging in a user will get ...
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).
1
vote
1
answer
137
views
How to get all questions with a specific tag between certain dates
I would like to get all questions created and tagged with tag "R" between 2 dates.
I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
1
vote
1
answer
100
views
/questions/add of StackExchange app gives nonsense response
When I run https://api.stackexchange.com/docs/create-question from the doc page and from my app. The response is sometimes nonsense:
{
"error_id": 407,
"error_message": "You cannot perform ...
1
vote
1
answer
270
views
StackExchange API's request data is blank in Drupal 7
I'm trying to implement this simple request in Drupal 7 on my local machine:
$request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=...
1
vote
1
answer
6k
views
How to programmatically retrieve the access_token from client-side OAuth flow?
I'm making an application in C# and I need to both search and post answers, so I need an access token.
I found some information, libraries, and code pieces:
The authentication guide for the Stack ...
1
vote
1
answer
53
views
Can I search for the most favoured questions via the API
This came to me after reading this post.
I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this?
I tried to manipulate the URL ...
1
vote
1
answer
129
views
How to sort by the newest question?
I'm trying to retrieve the latest questions posted in a particular tag.
What's the equivalent for:
http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15
I see that v1.1 API is ...
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. ...
1
vote
1
answer
192
views
Stack Overflow Firefox Extension
Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1.
How can I migrate that to 2.1? How to authenticate my application ...
1
vote
1
answer
84
views
Ability to sort answers by number of revisions via StackExchange API v2?
I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric.
I see mention of a sort function in the ...
1
vote
1
answer
198
views
Ruby wrapper for stackoverflow api - Serel, Pilha
Serel and pilha are good Ruby wrappers for the StackExchange API, but I am not able to access the body method for question and answers. The body method returns nil.
I want the content of questions ...
1
vote
1
answer
60
views
ChatterBox configuration option is confusingly worded
ChatterBox - user script that adds inbox integration to Stack Exchange Chat!
I'm confused over the option:
Mark items as unread when you view them:
Why would I want to mark items as unread when I ...
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....
1
vote
1
answer
67
views
What is the api_site_parameter of stackapps.com in API 2.x
What is the api_site_parameter of stackapps.com in API 2.x? https://api.stackexchange.com/2.1/sites doesn't list stackapps. Why?
1
vote
2
answers
183
views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example gaming.stackexchange....
1
vote
1
answer
138
views
is there a way to use my app to authenticate users with only a StackOverflow account with the stackExchange oauth api 2.1?
Recently I registered an app in https://stackapps.com/ to provide a way to authenticate users with their stackoverflow account. but I notice that https://stackexchange.com/oauth only works for users ...
1
vote
1
answer
143
views
Use stack2rss to receive responses via RSS
I'm trying to setup http://stack2rss.stackexchange.com/ to receive full-body "responses" (comments, edits, answers and so on) to my own stackoverflow questions via RSS, but I can't find the right ...
1
vote
1
answer
132
views
stackapplet and Google account
I am trying to use Stack-Applet for Ubuntu (http://www.omgubuntu.co.uk/2010/11/stackapplet-1-4-released-ubuntu-indicator/) and I have registered on Stack Overflow using my Google account. I guess that'...
1
vote
1
answer
70
views
Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?
In another question I asked it was established that
The IP, and user/app-pair quotas are separate in V1.x and V2.0.
So with this in mind would an app or script which implemented like methods for ...
1
vote
1
answer
115
views
Is there a maximum on the number of search results returned (using the SO API)?
I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
1
vote
1
answer
215
views
StackAuth.com user's id
What ID should I pass to stackauth.com/1.1/users/{id}/associated url to get user's associations?
The description of the api call states:
id – a set of up to 10 users' association ids, obtained from ...
1
vote
1
answer
195
views
Non-verbatim search strings in py-stackexchange
I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title.
Here's the code:
#!c:/Python27/python.exe -u
import sys
sys....
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 ...
1
vote
2
answers
334
views
Is there an SO API which can fetch all Questions & Answers for a particluar Keywords
I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
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?
1
vote
1
answer
199
views
api.stackoverflow.com down?
I am currently getting errors when trying to access the stack overflow api. I have tried others (superuser and serverfault) and they seem to work. Is this by design or did the api unintentionally go ...
1
vote
2
answers
130
views
Can the API return info re "new replies" icon?
I would like to be able to query the status of the "new mail" icon that shows whether there is new comments or favorites activity. Is this possible?
1
vote
1
answer
588
views
Copying CSS from stackoverflow for use in an app?
Is it ok / legal / allowed to copy some of the styles from stackoverflow / serverfault / etc. for use in a stack app?
1
vote
1
answer
122
views
How to control vote count for individual user?
How do I find if user has already voted for a particular question/answer?
1
vote
3
answers
175
views
API not returning anything near the actual website
The API /questions page is not returning anything like the list of questions on the actual SO site.
This is the first question of the 0.8/questions
{
"total": 705769,
"page": 1,
"pagesize": 30,...
1
vote
1
answer
92
views
Is the question_id monotonically increasing?
Just wondering:
Does the question_id monotonically increase for every new question?
Is the question_id unique globally for a deployed app or is it unique in some sub-domain?
Is there any relation ...
1
vote
1
answer
186
views
OAuth Domain can't satisfy redirect_uri AND Proxy url
Let's say I have an app called ExampleApp, with these details:
Client ID: 12345
Key: ThisIsTheKey123()
OAuth Domain: exampleapp.com
[√] Enable Client Side OAuth flow
[√] Disable ...
1
vote
1
answer
297
views
How to apply an access token in order to scrape the recommended answers?
I'm trying to scrape some data which needs the access token, and I received
'Applications must have a registered Stack Apps post to write'
Does that mean I need to post a question on Stack Exchange ...
1
vote
1
answer
5k
views
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error:
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
Here is my script:
...
1
vote
1
answer
85
views
Why does this minimal filter return no results at all?
I tried to create a 'minimal' filter
https://api.stackexchange.com/docs/questions#order=desc&sort=activity&filter=!34JvAEfIUyU-&site=stackoverflow&run=true
for the 'question' object, ...
1
vote
1
answer
95
views
How to get all communities a user is associated with?
Is there a way to get all Stack Exchange communities in which a user is active? I mean the list of communities that are displayed on a user's network profile.
1
vote
1
answer
73
views
How to get statistic data for specific tags which belong to a specific team?
I just want to get statistic data for specific tags which belong to a specific team.
For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...