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
2answers
163 views

How to search my threads based on some key words?

As I have already many threads in some StackExchange sites, sometime I would like to be able to search among them, for instance, based on some key words. Does anyone know how to do that? Thank you!
5
votes
1answer
347 views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
3
votes
1answer
303 views

Application Key and AccessToken are not working for Stack Exchange API?

I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation. And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
2
votes
1answer
200 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 ...
2
votes
1answer
124 views

Wrapper implementation method to get user notifications in Stack Exchange?

I'm trying to build an app that requires me to get the user notifications for a particular Stack Exchange user. Now, I'm trying to use Java to accomplish this and I came across this wrapper library: ...
0
votes
1answer
254 views

Error on Authentication - App Secret Doesn't match

I'm using the explicit OAuth flow and am getting errors when using the "code" value returned after a successful authentication. Can anyone post a sample HTTP POST with a redacted secret value? ...
-1
votes
1answer
34 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 ...
-1
votes
1answer
31 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 ...
-1
votes
1answer
61 views

Problem Implementing Socialite Stack exchange

I get code and access token but i cannot call API function My url being generated https://api.stackexchange.com/2.2/me?site=stackoverflow&access_token=lcynp67rMHfm%28DRLjv7CVQ%29%29&key=6521 ...
1
vote
0answers
55 views

Maximum tags for a question on any SE site

Is the maximum tags for all SE sites (and those in the future) 5?
1
vote
0answers
67 views

What's the default fromdate for the /users/{id}/reputation route?

I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0
votes
0answers
7 views

Get all questions of a particular tag in API 2.2 in PHP

I'm trying to get all the questions for documentation on Meta Stack Overflow in PHP. The code I'm using is as follows: <?php $feed = file_get_contents('https://api.stackexchange.com/2.2/...
0
votes
0answers
40 views

Is there an API method to retrieve a tags score/count between a certain date?

I'm trying to use the /tags/{tags}/info API but the tag will only work if I query its creation date. Is there any way to check its score/count between certain dates?
0
votes
0answers
16 views

difference between `/{method}/render` and `/{method}/add`

What is the difference between /{method}/render and /{method}/add when we have preview parameter (which we can set to true) in /{method}/add? Also, is there some difference between the objects ...
0
votes
0answers
11 views

wrong response wrong parameter is passed in `/me` call

I have passed wrong site parameter in /me. The response I am getting is common wrapper object with its error_id, error_message and error_name set. This is not expected. It is not of the type error.
0
votes
0answers
10 views

`type` of common wrapper object when error is returned

Whenever error is returned by any method the type of common wrapper object should be error. Also, in the documentation of error, under "Methods That Return This Type", it should be "Every method can ...
0
votes
0answers
15 views

use of `min`, `max`, `page`, `pagesize`,`order` and `sort` parameter in `/me` call

What is the use of min, max, page, pagesize,order and sort parameter in /me call? As it returns user!
0
votes
0answers
34 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
18 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 ...
0
votes
0answers
81 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. ...
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.
0
votes
0answers
53 views

How to retrieve the body of an accepted answer using the API?

I would like to retrieve accepted answers with complete answer body for a given question (using id) or a free form text (q). I have tried the /search/advanced and /search/excerpts routes -- setting: ...
0
votes
0answers
47 views

Review queues – bypassing/shunning “honeypot” stuff

Is there a solution against “honeypot” posts in review queues? As far as Ī noticed, there can be rather simple test: although the edit link (/posts/⋯/edit) is present below the “post”, attempt to ...
0
votes
0answers
54 views

Authentication not working properly

I'm using python to test the API calls and made a request for authentication specifying: client_id, client_secret, etc., to https://stackexchange.com/oauth It returns a 200 response. One issue here ...
0
votes
0answers
37 views

“error_id”:500,“error_message”:“this error has been logged”,“error_name”:“internal_error”

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...
0
votes
0answers
122 views

Exception while calling the API using code which works with local json file

I have written a Java application to fetch questions from Stack Overflow's site. The following is the output of the URI (System.out.println("GET " + get.getURI()); GET http://api....
0
votes
0answers
160 views

Using StackApp Oauth with iOS custom url schemes

I am trying to create some demo application for iOS using the Stack Exchange API. I could not however, get the OAuth authorization done. I have used the custom URL schemes in my application. I open ...
0
votes
0answers
55 views

How to configure Stack.PHP in a public released application?

I'm working on a WordPress plugin that displays all Questions or Answers from a given user in a given Stack site. In my config file, instead of checking for IMPLICIT, I'm simply using // if(defined('...
0
votes
0answers
22 views

Correct user behaviour when /me returns no items

So if a user has a StackExchange account but not an account for the specific Site, /me will return an empty items list. Ideally in this case, my application would send them off to 'the' URL where ...
0
votes
0answers
46 views

Is Stackusers.com gone or just down?

Stackusers.com has been down for a few days. Is it down for good? (Hope this is an appropriate question... seems OK per FAQ).
0
votes
0answers
748 views

Receiving “redirect_uri does not match the uri used to create the passed code”, when it does match

Summary Using Oauth2, when I go to pick up the access_token, I get the following error from the server: access_denied: redirect_uri does not match the uri used to create the passed code. From what I ...
-1
votes
0answers
17 views

How to post the answers from .net application to stackoverflow using stackoverflow API v2.2?

Is it possible to post the answers for stackoverflow questions using .net with stackoverflow API v2.2 ?