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

2
votes
1answer
21 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: ...
1
vote
0answers
25 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
27 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
36 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: ...
4
votes
1answer
58 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: ...
1
vote
1answer
48 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
14 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
44 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
43 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
23 views

`/me/associated` gives ambiguous/wrong response

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
41 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
27 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
27 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
18 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
27 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
33 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
52 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
45 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
128 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
54 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
26 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
40 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
32 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
28 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
31 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
26 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? ...
3
votes
1answer
46 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
36 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
22 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
18 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
34 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
46 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
31 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
77 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
50 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
63 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
35 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
62 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 ...
3
votes
1answer
76 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
53 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
48 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 ...
2
votes
1answer
33 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 ...
7
votes
1answer
55 views

How to obtain the bibtex item for a question with a program or HTTP request?

Which request should my program send to mathoverflow.net to get the bibtex, which is so well hidden behind the share button? Rephrased: what I'm after is something analogous to a link like: ...
1
vote
0answers
42 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
4
votes
1answer
106 views

Script Request - Meta Notifications

Mods are notified when a new meta post is started on HSM meta by a diamond on the top bar lighting up in blue. Here it is, not lit up: Proposal: Let users of sufficiently high rep see the same ...
1
vote
1answer
44 views

I Cannot Perform Oauth

My Clientn id = 4784 and Key = cB0l6XiaOW5l5vsBnBeIUg((. What do I do for Oauth and to get an access token?
3
votes
1answer
99 views

Request for self destructing comments

What would I like? I would like comments that can self destruct after a set amount of time. Why? I often add a comment that doesn't need to stay around, like saying thanks to a user, or telling ...
2
votes
1answer
23 views

Can I post a suggestion for a stack app? [duplicate]

I have an idea for a stack app. However, I can't program it. Can I post an app suggestion?
2
votes
1answer
63 views

Can not request info after OAuth

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: ...
1
vote
1answer
43 views

How to get the “People reached” stat of a user, using the API? [duplicate]

I checked the user ids and advanced search API docs, but I could not get this stat. Does Stack Exchange provide this info in the API? ...