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.

learn more… | top users | synonyms

0
votes
1answer
113 views

JSON parsing, won't work

Hi i'm using the stackapps api, retrieving questions by tags the code works well, and the json is returned, now i need to parse the json and i think there is somenthing wrong with my code: $.ajax({ ...
0
votes
2answers
63 views

Ajax get questions by tags ERROR

i'm trying getting questions by tags. this is my simple code and i'm running this from my http://localhost: <script type="text/javascript"> $(function(){ $.ajax({ ...
1
vote
1answer
25 views

How can I get beta sites to show on StackApplet (v1.5.1)

I installed StackApplet v1.5.1 and it works fine, although the refresh time of 5 mins minimum is a bit slow. However, I have an account in Robotics which is in beta state. How can I get notifications ...
4
votes
1answer
125 views

Why am I being told to backoff when I'm well within my API limit?

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I ...
5
votes
1answer
43 views

How to access global stackexchange user favourites in a feed?

I was looking for a way to IFTTT my questions, and found this recipe, that automaqically saves your favourited questions to Evernote. Nice. It uses stack2rss (thus the SE API) to provide a feed with ...
1
vote
1answer
65 views

stack overflow data dump utility error - mysql

I have the SODDI v.11 utility (although the screen says v.10) I also have the SODD from 092011. When I try to import the SF/MSF data, I get: Table 'SF.VoteTypes' doesn't exist. It creates the ...
2
votes
0answers
45 views

Is it safe to change the OAuth Domain?

I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
2
votes
0answers
44 views

Clarification on related tags for a tag returned by API

I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following: Returns the tags that are ...
0
votes
1answer
26 views

Algorithm for calculating filter

What is the Algorithm that one can use to make filters like !-u2CTCBE? For example /2.1/filters/create?include=question.body&unsafe=false returns "filter": "!9hnGssGO4". How is this String ...
4
votes
1answer
77 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 ...
0
votes
1answer
14 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
1answer
157 views

How to get Question/Answer body in the API response using filters?

I am looking through the API documentation and i am confused how to make a call with filters. I am specifically looking for get the question /answer body back. Is it possible. Could not find any ...
1
vote
0answers
17 views

Better Call /me maybe?

I am using implicit OAuth 2.0 flow, hence requesting for a token first. Now when I want to know which user has logged in, I have to make request to /me endpoint to get all of the data about the user, ...
5
votes
0answers
188 views

Why is my API quota not resetting after UTC reset?

According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300. I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
1
vote
0answers
42 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 - 17 uses and a tag wiki app-key - 8 uses, no tag wiki Do they ...
6
votes
0answers
47 views

What to do with “OAuth Domain” in the registration page for a browser user script?

I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use. My project is a browser userscript that works with ...
3
votes
0answers
65 views

edit-comment method returns 405 error

Trying to understand how edit-comment method could be used. I passed valid token with write_access, valid key, and existed comment id, but all I've got is: { "error_id": 405, "error_name": ...
4
votes
0answers
30 views

Why does adding fromdate=<long time ago> return a different set than without it?

I've been trying to get some stats for the Windows 8 challenge over on Super User. I've noticed that there are some questions missing if I add fromdate=0. Why is this? Without fromdate: ...
4
votes
0answers
22 views

Using Stack2RSS, why can I get feeds for some SE sites and not others?

I can use Stack2RSS to easily get RSS feeds of some StackExchange sites but not others: The pattern if I understand the API is http://stack2rss.stackexchange.com/{SiteName}/questions Substituting ...
2
votes
0answers
23 views

How should we announce updates to our apps, scripts, libraries, etc?

Is there a recommended best way to let the stackapps community know that we've released an updated version of one of our projects? We can edit the project's page and bump the version number, but this ...
1
vote
2answers
47 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 ...
4
votes
1answer
55 views

How do I know what apps on my stackexchange account I have already authorized?

I'm developing an app using the stackexchange oauth, I want to revoke my permissions to this app for testing the overall process, but I can't find which apps I have authorized.
1
vote
1answer
49 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 http://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
0answers
43 views

How can my app authenticate users with only a Stack Overflow account, using the Stack Exchange OAuth API 2.1?

Recently I registered an app in stackapps.com to provide a way to authenticate users with their Stack Overflow account. Then I noticed that Stack Exchange OAuth only works for users with a Stack ...
3
votes
1answer
369 views

HTTP 400 “Bad Request” while using “access_token” in request Url

I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
2
votes
1answer
160 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 ...
1
vote
1answer
17 views

Confusing documentation re vectorized requests limits

The documentation for vectorized requests says this: Most methods that take ids in the Stack Exchange API will take up to 100 of them in a single go. This allows applications to batch work and ...
4
votes
1answer
53 views

Do the terms “key” and “access_token” refer to the same thing?

I'm trying to get my head around all the limits and throttles but some terminology is confusing me: If an application does not have an access_token, then the application shares an IP based quota ...
3
votes
1answer
27 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 ...
2
votes
2answers
259 views

Logging out so another user can log in

Just in the process of final testing for an iPad SE browser, and uncovered some odd behaviour. I'm using Google for authentication. If I deploy a clean version of the app, and authenticate, I get the ...
3
votes
1answer
44 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
1answer
28 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?
2
votes
1answer
47 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 ...
1
vote
0answers
255 views

zWeatherFeed options? [closed]

I used zWeatherFeed to show weather, but I cant find any example to change options. <style> .weatherItem{padding-left:200px;} .odd{height:130px;} .weatherCity{font-weight:bold;} ...
1
vote
1answer
46 views

how to use tags/{tags}/related

I am new to stackapps. I am wondering how to apply /tags/{tags}/related to more than one tags. The documentation does not give an example. I tried /2.0/tags/c,java/related?site=stackoverflow, ...
2
votes
1answer
32 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
1answer
29 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": [ { ...
1
vote
0answers
133 views

Why does the web service fail sometimes for the Stack API?

It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
0
votes
2answers
32 views

Link field on notification type

There is no link field on notification. Is this by design or a bug? If it's by design can it be changes so it's included, I can't see how to build the URL with only a post id, and not know what type ...
1
vote
1answer
69 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not ...
3
votes
0answers
51 views

Is it OK to have a test account for a developing client?

I'm currently trying to implement an agorava component for Stackoverflow, and for testing purpose, i would like to create a test account, which would have one question asked, and would maybe send ...
3
votes
0answers
40 views

All updates (answers, comments etc) using stack exchange API

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
5
votes
1answer
54 views

Can you access a user's tag reputation/score via the API?

Is it possible to retrieve a user's tag specific reputation/score via the API? If not, is it possible to make an API call that returns enough information that you can calculate the value?
1
vote
0answers
77 views

String formatting in returned JSON objects

So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
0
votes
2answers
104 views

Is there a Stack Exchange API allows research on the body?

I want to use the Stack Exchange API to perform research on the question/answer's body but it seems impossible. Is that the case? If not, how do I go about doing it?
1
vote
1answer
79 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 ...
0
votes
0answers
20 views

Correct user behaviour when /me returns no items

So if a user has a StackExchange account but not an account for the specific Site, /me will return an empty items list. Ideally in this case, my application would send them off to 'the' URL where ...
7
votes
1answer
87 views

Can we have the display_name field in the /me/associated route?

I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter. ...
6
votes
2answers
763 views

Why can I access the API from a browser but not wget?

If I try to access the following from firefox everything works even if I'm not logged in http://api.stackexchange.com/2.0/users/19068?order=desc&sort=reputation&site=stackoverflow However ...
1
vote
1answer
51 views

/me API endpoint returning 500 error

I'm making an authenticated call to /me: https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted] But it's returning: ...