A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

0
votes
1answer
153 views

How to programmatically retrieve the access_token from client-side OAuth flow?

I'm making an application in C# and I need to both search and post answers, so I need an access token. I found some information, libraries, and code pieces: The authentication guide for the Stack ...
0
votes
1answer
26 views

Support for OR constraint when querying questions based on tags [duplicate]

Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint. You can query for questions tagged with multiple of these tags, but not with one or ...
0
votes
1answer
72 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
0
votes
1answer
199 views

Serel returns a JSON Parse error for the 'C#' tag

When I try requesting the tag c# via Serel, I get an error. This is the error I am getting: INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey ...
0
votes
1answer
30 views

Sort options explained

I have read the doc here but I'm quite confusing because I still don't understand the semantic behind each options. Would you like to detail the different options ? activity (default) votes creation ...
0
votes
1answer
29 views

Add revision diffs to API?

This may be a bit of a stretch, but I was wondering if it could be possible for the API to return the diff between two revisions? Or the next best option, to have the API return the markdown value of ...
0
votes
1answer
284 views

What's the best way to mashup a social network with StackOverflow?

I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
0
votes
2answers
76 views

Scratch Pad Wiki Question

This q is for use by anyone who needs to modify, add or delete an answer or to modify the q to update the last_activity field. Leave this description, but otherwise have at it.
0
votes
0answers
21 views

Array boolean values are returning empty

I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
0
votes
0answers
8 views

Unable to post a question through api again [duplicate]

I am testing an application to create a question on Stack Overflow. After i created my first question through the API , i am not able to do so as it says "we are no longer accepting questions from ...
0
votes
0answers
28 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
0
votes
0answers
26 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
23 views

Is it okay to use the Stack Exchange API to get all tags as a one time call for a commercial application? [duplicate]

I want to get all tags that stackoverflow lists, and I can do that with: https://api.stackexchange.com/2.2/tags?site=stackoverflow I'm only going to make the request once to get a list of all tags ...
0
votes
0answers
12 views

Get the list of question ids under a particular tag? [duplicate]

I am new to the Stack Exchange API. Stack Overflow has a tag named java, How do I get the list of all questions' ids that are tagged as java?
0
votes
0answers
30 views

How to get my StackOverFlow API Key [duplicate]

I used to login in StackOverFlow site using my Gmail Id/password.How I will get my StackOverFlow API key? I require that key to fire a StackExchage API which requires authentication. Also, could ...
0
votes
1answer
28 views

StackExchange API's request data is blank in Drupal 7

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = ...
0
votes
0answers
8 views

Why are comments in the timeline of a question but not in the activity sort?

I've written a small script to monitor a tag of our team's language, and translate that to Slack notifications (Source). I use the /2.2/questions?order=desc&sort=activity&tagged=rascal call ...
0
votes
0answers
21 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
63 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 ...
0
votes
0answers
15 views

Site parameter doesn't work properly with inbox items? [duplicate]

I use /users/{id}/inbox/unread method to get unread items in a user's inbox. I expect that site parameter there will filter the response. But looks like I have to do it manually by looking at ...
0
votes
0answers
22 views

How to get the: answers, votes and comments of a question using the Py StackEchange library?

I am using the Py StackEchange library and trying to fetch the answers to a particular question using the question id: import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) me = ...
0
votes
0answers
24 views

How can I create a Stack Exchange app for windows phone? [duplicate]

There is no apps available for SE for windows phone platform. So I'm ready to develop one. How can I do? Please explain the procedure.
0
votes
1answer
90 views

C# Stackexchange Questions API [duplicate]

I need to build an web application C# and below is what I'm stuck with Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose. I wish to get the ...
0
votes
0answers
31 views

Differences between versions 1.x and 2.x of the Stack Exchange API?

I had written a Java Wrapper for the Stack Exchange API, version 1.x, Which was working perfectly. But, since 12 May 2014, services for version 1.x have been shutdown and my Wrapper stopped working. ...
0
votes
0answers
28 views

Testing API for Flatiron (Placeholder)

This is a test application playing with OAuth. I have no problems; I'm just trying to get OAuth to work with the Stack Overflow API. Please ignore; this post is only required by the API for testing ...
0
votes
0answers
26 views

Flatiron school test app (Placeholder)

This is a placeholder for a Flatiron application testing the ability to authenticate against the Stack Exchange API using OAuth.
0
votes
1answer
41 views

How do I make sure my access_token gets passed?

I am authenticating via the explicit method, but I still get a 502 throttling error. Is my key not getting passed? Do I need to pass the access_token with the request? if so. How do I do that. I am ...
0
votes
0answers
42 views

Stack family site [duplicate]

Possible Duplicate: Can i make an internal Q&A site like StackExchange? I've had a brief look at the stackapps site and the StackExchage API, but I was unable to answer myself the ...
0
votes
1answer
42 views

Total number of superuser users…

Hi all, I am probably doing something wrong but there seems to be a discrepancy between the data-explorer and the API. For instance, This query has a total of 48048. ...
-1
votes
1answer
129 views

Post to Stackoverflow

Is it possible to post a question to Stack Overflow using PHP in the same way that it's possible to post content to Facebook?
-1
votes
1answer
22 views

What about actually identical requests?

Now, it says here that I should not make lots of semantically equivalent requests. It also says that there is a lot of caching. So I was wondering, what about exactly identical requests. Should I wait ...
-1
votes
0answers
19 views

Unable to add a comment via the API

I have a web app using JavaScript to communicate with the Stack Exchange API. I want to write a comment on a post using the API. I am unable to do so using /posts/{id}/comments/add. I am using the ...
-1
votes
1answer
38 views

How to use the API to show the user reputation?

How do I use the Stack Exchange API to let my users enter their Stack Overflow URL and then extract their reputation and show it in a profile controller in Rails?