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
0answers
12 views

Gemfile/ rspec-rails [closed]

I need to know how to add an rspec file to my scaffold gemfile with version 4.2.5 of rails please. If any of you have seen my poor little spec file please report back to me at your earliest. I have ...
-1
votes
0answers
21 views

What is stack app post [duplicate]

When I try to upvote or downvote or add an answer using the Stack Exchange API, I get: { "error_id": 403, "error_message": "Applications must have a registered Stack Apps post to write", ...
0
votes
1answer
18 views

How to get question body (markdown) in the API response using filters?

Using withbody filter as suggested in this thread (How to get Question/Answer body in the API response using filters?) returns body as HTML. How do I get the original markdown?
0
votes
0answers
22 views

Making request to api.stackexchange.com with angular $http

I am trying to make request to api.stackexchange.com ask explained here. Could some one please explain how grant api key for [auth required], and how to make angularjs $http request using this key (a ...
0
votes
0answers
14 views

Getting all the answers for a question in Py-StackExchange

How do I get all the answers for a question in Py-StackExchange? m=s.user(id) for i in range(0,len(m.questions.fetch()): print m.questions.fetch()[i].answers #returns [] even if answer ...
2
votes
1answer
49 views

Unable to decode HTML entities in the API response?

I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working. I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
3
votes
1answer
59 views

How can I get a user's Meta site details in the API call?

This query returns the details of the Main sites only:         /associated-users#ids=2855348 How can I get the Meta site details also in the same query? Do I need to add any ...
2
votes
0answers
25 views

User sort by last_modified_date always return errors

I am using this API to get users info sorting by last_modified date, ...
3
votes
1answer
28 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
3
votes
2answers
49 views

When asking/answering a question on SE sites; Is there a way to fix the page in place so that you only see the displayed output as you type?

I am a touch typist and would like to know if there exists a way to type a question\answer with all the necessary formatting without the page automatically scrolling back up to where you input the ...
1
vote
1answer
19 views

Get users based on location?

I want to get site users by their location but I don't see any method for that. And it's not possible with filter too. Is there any way to get users based on location or is it not possible?
1
vote
0answers
15 views

Where can I found all the type objects in the Stack Exchange API? [duplicate]

Where can I found all the type objects in the Stack Exchange API? In the docs, I can't find any section that lists all of them. I am trying to make a Wrapper Class in C#, so I need a complete list of ...
0
votes
0answers
35 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
3
votes
1answer
30 views

The /tags query is not giving me the correct results between two dates?

I'm trying to get the yearly total number of questions that have the tag browserify. I can see that there are questions tagged from this year like this one and that one. The site reports that there ...
2
votes
1answer
39 views

Getting “application not configured for implicit grants” error trying to setup website

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
1
vote
1answer
45 views

I want a python program example for more requests a day

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable ...
3
votes
1answer
37 views

Can I get information about a user with their network ID?

My network profile's ID is 4337810. Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...? There doesn't seem ...
2
votes
1answer
29 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
3
votes
1answer
35 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
3
votes
0answers
57 views

Login screen without web browser

I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example. The next step is to allow the user to log in somehow. From ...
1
vote
0answers
39 views

Full-width stackexchange site

All the stackexchange sites are designed to take up a width of 1000px or less. Can this be expanded to have the content always try to take up all available horizontal space?
0
votes
1answer
49 views

Hide the Stack Exchange sidebar

I would like to gain some screen estate when viewing Stack Exchange sites. The sidebar seldom shows information I need. I know most help content displayed when composing questions. Most related ...
1
vote
0answers
19 views

Not getting a JSON response on authenticated API call? [duplicate]

through stackoverflow api , i trying to get user basic info like reputation etc. I am successfully getting access token but when i trying to get user info though ...
0
votes
1answer
44 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 = ...
3
votes
0answers
41 views

Stack Exchange notification app for Windows 10 (integration with Action Center)

Is there a Stack Exchange notification app (particularly, the inbox) for Windows 10 that has integration with Action Center? There are notification apps for Windows 7 that I am currently using, but ...
3
votes
1answer
65 views

OAuth procedure for standalone user?

Background: I will be using the Stack Exchange API to make queries to stack overflow for a list of questions along with their details for a particular month etc for analysis purposes. So this would be ...
1
vote
0answers
27 views

Bounty question collector

I want to write a script to collate all bounty questions from all Stack Exchange sites. I have heard of Tampermonkey and I have no server access. Could someone explain how I should go about writing a ...
1
vote
0answers
37 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
46 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
22 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
54 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
35 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
46 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
29 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
50 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
138 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
135 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
17 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
72 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
74 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
25 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
55 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
28 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
29 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
22 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 ...