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

4
votes
1answer
43 views

Does the API have a method to get the total favorite count of a question?

Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
4
votes
0answers
27 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 there is a direct query that will give me ...
1
vote
1answer
43 views

Get my profile information after authentication

I am coding for a mobile application and using stack exchange API 2.1. I am able to implement oauth and I have access token also. Now I am trying to retrieve my profile information, like user_id, ...
0
votes
1answer
60 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL ...
1
vote
1answer
12 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 ...
0
votes
1answer
31 views

Can I place my Android application here?

I have an Android application, which is written by me and placed on Google Play Store, Can I place that application on stack apps site ?
1
vote
0answers
41 views

Overwhelmed by unorganized information

As you can see I am a newbie, and trying to use stackexchange api for a school project. I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
2
votes
1answer
30 views

What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?

In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many ...
2
votes
1answer
31 views

How do you trigger the search/advanced 'q' parameter to search all words?

When you search for “playa parents not working” on http://expressionengine.stackexchange.com, you’re brought to this URL: http://expressionengine.stackexchange.com/search?q=playa+parents+not+working ...
2
votes
1answer
72 views

What exactly is the 'user' on a post_timeline?

What exactly is the 'user' on a post_timeline? I am assuming that it is the user responsible for the action, if not the user, but I cannot be sure as the JSON structure used to document the results ...
2
votes
1answer
2k views

jQuery Ajax calls return null

When I enter the API URLs into my browser they work, but when I try from jQuery they just return null. When I open the HTML below, all I get is an alert that says null, despite the fact that Firebug ...
1
vote
0answers
142 views

How to login programmatically

I'm building an app for personal use. The app simply screen-scrapes the StackExchange homepage and checks whether I am currently logged in to StackExchange. This works fine. However, if the app ...
5
votes
1answer
398 views

Is it possible to authenticate a user through Stackoverflow API?

Is it possible to use the Stackoverflow API to authenticate a given user identity such as with Facebook, Twitter or OpenID? If it's possible: Can you tell me the method(s) that make this happen? ...
3
votes
1answer
66 views

How to access my App info

I've registered for an app yesterday, but I'm not finding where should I go to see/edit it's info again. I've search through profile, at stackexchange.com but could'n find it.
2
votes
0answers
30 views

Client Side Flow security problem

I'm not pretty sure, but if my app is enabled to Client Side Flow Authentication, then anyone with my client ID (easily found for being embedded or by sniffing the initial request) would be able to ...
0
votes
1answer
238 views

400 Error when attempting to retrieve authenticated user data

I am attempting to use the /me API to retrieve an authenticated user's details but I am recieving a 400 error. I am able to complete the OAuth2 dance and have been able to capture the access token ...
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 ...
5
votes
2answers
84 views

How to get a User's picture (Avatar)

I've seen a couple of StackApps 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 ...
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 ...
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 ...
1
vote
1answer
27 views

Questions returned by /questions/{ids}/related do not contain link properties

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
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({ ...
2
votes
0answers
43 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 ...
5
votes
1answer
52 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?
4
votes
1answer
76 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 ...
1
vote
1answer
31 views

Does the API allow us to pull down a user's subscriptions?

When I joined the site, I found that I could subscribe to hear about new posts within my favorite tag/filter. I started receiving daily emails with the latest posts in those categories. I can't find ...
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?
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
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, ...
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 ...
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: ...
3
votes
2answers
221 views

Can I apply the API Key first and do the application later?

I don't have an application to submit at the moment, but can I apply the key first?
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
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, ...
4
votes
1answer
54 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
48 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 ...
3
votes
1answer
355 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
157 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 ...
8
votes
2answers
4k views

Why Content-Encoding gzip rather than Transfer-Encoding gzip

The API responses are returned in gzipped format. But by using Content-Encoding gzip, the burden of unzipping is on the user of the API. On the other hand if the server uses Transfer-Encoding gzip, ...
1
vote
1answer
16 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 ...
3
votes
1answer
26 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 ...
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 ...
2
votes
2answers
249 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 ...