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

1
vote
0answers
41 views

How do I get an access token so that I can ask a question via java?

I want to be able to ask a question but do it through a Java UI that I am working on. I know that this requires an access token but I honestly don't know what this entails. Any help would be ...
2
votes
1answer
25 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
2
votes
1answer
36 views

How to get the 10 most recent questions with accepted answers based on a given tag?

I am trying to figure out how to get the 10 most recent questions from the Stack Overflow site, that have been answered, based on a given tag (such as 'Java'). I looked at the documentation but I ...
2
votes
1answer
41 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
2
votes
1answer
49 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
1
vote
1answer
23 views

The API /tag stats are notably different from the site totals

Why this discrepancy? --Sep 10 2015 11:26:09 GMT+0530 (IST)-- At that time, the API shows 42010 tags. But the same thing computed on the Stack Overflow tags page is 44496. Is it because of ...
3
votes
1answer
55 views

Get total answers count for a specified: Tag, Userid and Date-range?

I would like to get the total number of answers provided by userid 1068142 between 01/07/2015-31/07/2015 with tag = paypal. I have looked into this question but it does not help! I have been trying ...
3
votes
1answer
36 views

Can revisions be returned from the API, filtered by user?

I see that question or answer revisions can be returned from the API either by post ID or by GUID. I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
4
votes
1answer
51 views

How to include answers when fetching questions?

I made a small cron job which crawls questions and answers from Stack Overflow. Here is my request URL: ...
0
votes
0answers
31 views

How to upload images in posts (questions & answers)? [duplicate]

I am using /questions/add to create questions, and /questions/{id}/answers/add to create answers. It's all OK when only text is added, but when images are to be added there is a problem. How to add ...
0
votes
0answers
71 views

“`key` is not valid for passed `access_token`, token not found.”

I've been trying to create an app with stack exchange api. Everytime a request is made for /me end point with access_token and key, running into this error "key" is not valid for passed access_token. ...
2
votes
0answers
40 views

Show statistics of my community ads, on all sites

In January I posted community ads to various sites I belong to. From time to time I want to see how they perform, so for each site I craft the display URL manually and launch it in a browser: ...
6
votes
1answer
184 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
1answer
174 views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
1
vote
0answers
19 views

How to develop without api key [duplicate]

I just started a new project in which I want to use the Stack Exchange API. I will need users to authorize the app to read e.g. their favorited tags. Therefore I need an API key, so I have to register ...
2
votes
1answer
76 views

How to calculate users, who have posted (question/answer) using specific tag?

For example, if I want to know the number of users who asked and answered about PHP. Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
2
votes
1answer
89 views

Questions with specific tag and specific text inside questions

So I am able to get questions with specific tags, but still not able to get questions which have specific text and a specific tag. For example if I want to get all the questions with text "api" in ...
0
votes
0answers
34 views

`/me/associated` gives ambiguous/wrong response [duplicate]

This is my associated accounts page. No where I can see Meta Stack Overflow profile. But when I run /me/associated with meta_site as parameter to types, I get a response that tells me that I have a ...
2
votes
1answer
60 views

Difference between `/inbox/unread` & `/me/inbox/unread`

I ran /inbox/unread & /me/inbox/unread. What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
2
votes
1answer
31 views

`body` of `inbox_item` returning only excerpt, not full body

I have run /inbox/unread function. It returns a list of inbox_items. The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item. According to ...
1
vote
0answers
30 views

Where can I find a link to my apps and API keys? [duplicate]

I feel pretty stupid but it's taken me about 15 minutes to find any reference to the app and api key I've created. I started searching through my profile page but couldn't find anything. I also came ...
1
vote
0answers
25 views

List recent tag wiki edits

I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this? It is not a problem if I get a few false positives by tags modified in other ways, ...
2
votes
1answer
39 views

How to find questions that were posted or edited recently?

The api function documented at http://api.stackexchange.com/docs/questions lets me list questions on a site. How do I sort this so that I see questions that are recently posted, edited, including ...
0
votes
0answers
45 views

“/unread-notifications” is not working

/notifications/unread is not working for me. I have some unread notifications. The items returned in the response is null.
4
votes
1answer
96 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 ...
0
votes
1answer
49 views

Specific Response attributes [duplicate]

I want to get questions related to a specific tag with the body of those questions. I have figure out this API request: ...
0
votes
1answer
227 views

Where is “Stack Exchange API Documentation” listed?

I have followed How to list your application/library/wrapper/script here to list my application. In http://stackapps.com/users/apps/{my-user-id} , I find that I have given it access to "Stack Exchange ...
2
votes
1answer
100 views

Encoding problem while accessing the API using Java

Trying to call an API URL from a Java application, I'm having problems accessing the contents of the URL. I can access other sites through my program but not the Stack Exchange site. But I can call ...
2
votes
1answer
33 views

Unnecessary parameters in query string in /me/questions when only “total” is requested

To get all the questions that I have asked, I am using Stack Exchange API, I am using /me/questions. When only total is requested, order and sort are also given as parameters in the query string. It ...
2
votes
1answer
54 views

Role of “preview” in “/questions/add”

To post questions using Stack Exchange API, I am using /questions/add. What does parameter preview do, i.e., if we set it to true/false, what behaviour would it give?
1
vote
0answers
38 views

Select all answer fields should also be present

Like "unselect all 'response' fields" would get displayed when we click on any of the fields marked in the snapshot below, same way there should be - "select all 'response' fields" Similarly, one link ...
2
votes
1answer
29 views

Clickable link in “Try It” section of some doc pages

In the "Try It" section of some doc pages, the link is not present. It is present in the below image Its not present in the below image
1
vote
1answer
37 views

The `top_questions` field shows outdated information?

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
2
votes
1answer
28 views

Do the questions tagged “placeholder” need it explicitly in the title?

I have create a placeholder question, but just noticed that all the other ones have "(placeholder)", "[PLACEHOLDER]" or some variant in the title. Do I need to include it in the title if it's tagged? ...
2
votes
1answer
67 views

Posting question using StackExchange API

I created one app to post questions to Stack Exchange Websites. While checking in doc page of my application, i.e., https://api.stackexchange.com/docs/create-question, the question is posted. If I do ...
1
vote
1answer
41 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 ...
2
votes
1answer
23 views

Why does dropdown comes in “Rev” when we edit published app?

I have published an app and editing it. One new "Rev" tab is created and it is giving me a dropdown as shown here. Why it is being created here? It is not created in any other Stack Exchange websites ...
0
votes
0answers
19 views

What does <!— tag: a-tag-on-the-post --> do when listing an app?

I am listing one app in StackApps. But there is one line that I am not able to understand. That is line is <!-- tag: a-tag-on-the-post --> which is explained here: support - How to list your ...
2
votes
1answer
92 views

How to delete apps in StackApps?

I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
3
votes
1answer
48 views

Some blank properties missing

I am using /me/associated. I haven't posted any question in one account, so the response comes as: "top_questions": [], "top_answers": [], "question_count": 0, "answer_count": 0, in the same ...
2
votes
1answer
32 views

Where is “items” & “badge_counts” documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
4
votes
1answer
946 views

How to deal with the “Too Many Requests” error coming as HTML?

The API specifies error codes, and messages. It also specifies a "backoff" parameter. But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
1
vote
1answer
63 views

Stack Exchange API for getting list of users from iOS8

I am trying to call the Stack Exchange API to get a list of users. This is from my iOS app: NSString *str=[NSString stringWithFormat:@"http://stackexchange.com/oauth ...
2
votes
0answers
72 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
3
votes
0answers
38 views

How to get unread reputation changes via the API?

I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that. ...
4
votes
0answers
76 views

Moderation request: Make [user] a synonym of [users]

Please make user a synonym of users. I proposed a synonym but there aren't enough high-rep users active here for that mechanism to work. Currently*: user has 5 questions, no tag wiki and no tag ...
4
votes
1answer
101 views

Get the Authenticated User's email?

We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
2
votes
1answer
59 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
2
votes
1answer
54 views

How can I edit a post with the API and python?

I am a real beginner, but want to know more about using the API. I need to be able to get a post tagged with installation and the have it displayed to me. I then enter either 1 or 2, and it will ...
3
votes
1answer
43 views

How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?

If I have the ID of a user from any site, how can I get that's user's ID for a site I specify? Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow? I know I'd ...