Questions tagged [api-v2.2]

For questions relating to version 2.2 of the Stack Exchange API.

Filter by
Sorted by
Tagged with
52 votes
0 answers
3k views

Heat Detector - analysing comments to find heat

General Heat detector is a StackApp whose goal is to catch offensive, rude, snarky comments, and comments that leads to abusive content (offensive, spam posts, or previous offensive comments). It is ...
Petter Friberg's user avatar
-5 votes
1 answer
630 views

What is the root cause for too many request issue?

I am getting the following error when importing questions under a particular tag name: {"error_id":502,"error_message":"too many requests from this IP, more requests available in 56100 seconds"...
Melody's user avatar
  • 99
5 votes
1 answer
437 views

How to increase app request quota from 300 to 10,000?

In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((: Pass this as key when making requests against the Stack Exchange ...
m-a-r-c-e-l-i-n-o's user avatar
8 votes
1 answer
224 views

Why is /questions API returning deleted questions?

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
Petter Friberg's user avatar
1 vote
1 answer
172 views

How do I find all questions/answers per a tag using .Net?

I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?
Melody's user avatar
  • 99
-3 votes
1 answer
88 views

Why API Version 2.2 returns null always while getting questions list?

The below 2 codes returns null always. How to get the list of questions using API Version 2.2? Question thisPost = context.Official .StackApps .Questions.ById(1) .WithComments(true) .First(); var ...
Melody's user avatar
  • 99
2 votes
0 answers
276 views

The Authentication Problem of WebAuthenticationBroker Class in .NET 4.6

I have a problem when you test the Stack Exchange Authentication API to WebAuthenticationBroker. If you proceed with authentication, such as screenshots it will continue to appear only in progress. . ...
happyjem's user avatar
-5 votes
1 answer
128 views

wrong results of api /search/advanced

I am querying for results of /search/advanced. The request I am sending is https://api.stackexchange.com/2.2/search/advanced?key=`key`&access_token=`access_token`&site=stackoverflow.com&...
amit jha's user avatar
  • 842
0 votes
0 answers
71 views

OAuth domain with a custom port in a dev environment? [duplicate]

I have an app for which the OAuth domain is example.com However, the domain for dev environment is example.com:8000 When trying to authorize the website, Stack Exchange replies with an error ...
Jivan's user avatar
  • 141
-2 votes
1 answer
65 views

Are the inbox routes (`inbox_item`) missing some item types?

Should there be more options for item_type in the "inbox" routes (they return inbox_item)? Shouldn't they return answer and edit suggested like the site's global inbox does? As shown in this ...
amit jha's user avatar
  • 842
1 vote
1 answer
85 views

Is my script's API usage okay?

I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2. I've already asked there for a review of that Python code, but I would ...
Edward's user avatar
  • 113
5 votes
0 answers
716 views

StackAPI - A(nother) Python wrapper

This is a(nother) Python wrapper for the Stack Exchange API. I wrote this to assist with a couple of my projects that needed to do a lot of API interactions. After using it and polishing it up for as ...
Andy's user avatar
  • 417
1 vote
1 answer
88 views

Absence of `order` and `sort` in rest calls?

Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
amit jha's user avatar
  • 842
2 votes
0 answers
49 views

Add privilege_type to the privilege API results

The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description. Sample result as: { "reputation": 1, "...
Arulkumar's user avatar
  • 578
2 votes
1 answer
64 views

`fromdate` and `todate` parameter in `/me` call

What if we don't give the fromdate and/or todate parameters in a /me call? Will it give result of user of all times? It's not mentioned explicitly in documentation.
amit jha's user avatar
  • 842
1 vote
1 answer
92 views

Why is the `site` parameter required in `/me` call?

I want to query information about the logged-in user using me, and this site parameter is creating some small problems. I am developing a visual studio extension where upon logging in a user will get ...
amit jha's user avatar
  • 842
1 vote
1 answer
47 views

`types=main_site` in `/me/associated` gives `meta_site` accounts also

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
amit jha's user avatar
  • 842
2 votes
0 answers
58 views

How to get more details flags from questions?

Short question: How to get the flags that led up to a question being closed? When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see The option ...
RMalke's user avatar
  • 121
6 votes
0 answers
84 views

Badge numbers are wildly erroneous for meta accounts returned by the /associated query

There is a serious problem with badge counts on meta sites as returned by the /users/{ids}/associated route. Consider this user (chosen for high volume of meta activity). On Meta Stack Overflow, ...
Brock Adams's user avatar
  • 12.9k
2 votes
1 answer
105 views

Can I change my profile picture using the API version 2?

I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
Damian Yerrick's user avatar
5 votes
1 answer
150 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 ...
Andy's user avatar
  • 417
6 votes
0 answers
76 views

Use HTTPS urls for site logos returned by the API

Currently, the API returns resources like this: "high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/[email protected]", "favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
user avatar
2 votes
0 answers
218 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: ...
Mahahari's user avatar
  • 129
15 votes
0 answers
437 views

Review Audit Detector

Motivated by the question Would a userscript to determine whether a review is an audit be illegal, I wrote a userscript for this purpose. The algorithm is as follows: If the post score shown in ...
user avatar
3 votes
1 answer
83 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 ...
Jeremy Larter's user avatar
2 votes
1 answer
56 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 ...
Jason Li's user avatar
3 votes
1 answer
56 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, ...
David Ebbo's user avatar
4 votes
0 answers
112 views

Early warning for new questions with problematic tags or titles

Leaves a temporary comment on new Stack Exchange questions with problematic tags or titles. Some of the issues detected by the bot: a non-descriptive title a vague tag used as the only tag all tags ...
user avatar
3 votes
0 answers
105 views

error description: could not parse proxy url

I have seen the answers to the existing two questions on this topic but it has not helped. And the problem still persists so I am re-posting this question. Here is my code $(function(){ SE.init({ ...
SOUPTIK BANERJEE's user avatar
4 votes
1 answer
76 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 ...
Jason Li's user avatar
3 votes
1 answer
194 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 ...
Jason Li's user avatar
1 vote
1 answer
38 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 caching?
deostroll's user avatar
  • 111
10 votes
1 answer
179 views

Please provide a way to download SEDE data via an API

Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that. It has also been suggested that it would ...
halfer's user avatar
  • 293
5 votes
0 answers
54 views

Please provide a way to get Post Edits, filtered by user

I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
halfer's user avatar
  • 293
5 votes
1 answer
69 views

API returns implausibly low questions per minute rate for Stack Overflow

Yesterday, I tried using the /info method of the API to predict the time left until 10M questions on Stack Overflow. In the process, I found that the returned "questions per minute" value was always 2....
user avatar
3 votes
1 answer
968 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 ...
Dennis Williamson's user avatar
3 votes
1 answer
146 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 ...
Yury Andreykovich's user avatar
0 votes
0 answers
45 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 ...
amit jha's user avatar
  • 842
3 votes
1 answer
170 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 ...
amit jha's user avatar
  • 842
3 votes
1 answer
59 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 ...
amit jha's user avatar
  • 842
2 votes
1 answer
80 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 ...
b_jonas's user avatar
  • 153
3 votes
1 answer
81 views

What does `total` in the /notifications route represent?

What does total in /notifications represent? I ran it. The result was items in Common Wrapper Object was array of 24 items where as total was 4.
amit jha's user avatar
  • 842
3 votes
0 answers
168 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 ...
Denys Séguret's user avatar
4 votes
1 answer
97 views

Search function in the API doesn't work as expected

This looks like an error in the search part of the API. This search URL: /2.2/search?tagged=javascript&intitle=get%20column%20array&site=stackoverflow doesn't return any answers. I'm ...
Wikunia's user avatar
  • 143
5 votes
1 answer
91 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 ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
0 votes
1 answer
98 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? /2.2/users/{ID}?order=desc&sort=reputation&site=...
Mohan Krishna's user avatar
5 votes
1 answer
99 views

Is it possible to have no sorting - to just show results in order of inputted IDs?

I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with. So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
ᔕᖺᘎᕊ's user avatar
  • 4,365
2 votes
1 answer
163 views

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: org.apache.http....
Sudheer's user avatar
  • 123
3 votes
1 answer
120 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
2 votes
0 answers
62 views

/me/inbox is not returning most recent items

Looks like /me/inbox is either a bit behind or it's not supposed to be realtime. Explanation: for a comment that I received 4 hours ago It's not returned in the API: https://api.stackexchange.com/...
ifaour's user avatar
  • 121