Tagged Questions

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
72 views

How to get the activity of a user?

I am trying to extract the user activity using the Stack Exchange API. I want to extract all of my activities (questions, answers, edits and my voting). Does anybody know how this can be handled? ...
0
votes
1answer
65 views

trying to query answers for a question using the stack.php

I am trying to query stackoverflow and route it to my website via the following <?php require_once './stackphp_source_0.4/src/api.php'; require_once './includes/function.php'; // Begin by getting ...
2
votes
0answers
27 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
3
votes
0answers
54 views

Looking for an application which alerts about new questions under a particular topic

I've installed StackApplet, but it only tracks the reputation of a particular user. Is there an application which tracks new questions under a particular topic, and notifies (in system tray) when ...
2
votes
1answer
1k views

How to convert a (javascript) date to the API timestamp format?

When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format: fromdate=1380326400&todate=1380412800 What is this date format? ...
0
votes
1answer
15 views

Get points from Multiple sites in one call

Is there any way to get total points and badges from various sites (e.g. stackoverflow, sharepoint, wordpress etc.) in one call?
3
votes
1answer
51 views

API for getting multiple (yet specific users)

I am developing one app which will be used internally in our company. We are recommending our colleagues to contribute to StackOverflow. To keep the moral of employees high, I am planning to develop ...
3
votes
1answer
56 views

Moderation request: Flags unhandled for months, please approve

Note that Stack Apps is its own meta site. Sorry for nagging the mods, but I have flags that have sat in the "active" state since June 29th, and these flags apparently don't expire. Can a moderator ...
0
votes
0answers
50 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 // ...
2
votes
1answer
68 views

What's the different between user_id and account_id?

What is the difference between user_id and account_id in the User object ? Both are different and I'm looking for the unique ID of the User. { "items": [ { "user_id": 2144246, ...
1
vote
1answer
112 views

How to use the Stack Exchange API in PhoneGap?

I want to write a program using PhoneGap. How can I use the Stack Exchange API in PhoneGap?
-1
votes
1answer
109 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
vote
1answer
144 views

Receiving error “Unexpected domain on proxy URL”

I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose. I am stuck on the point of authenticating the user. I followed the ...
1
vote
1answer
34 views

How to get the question title for reputation history entries?

I'm trying to implement a simple rep list, much like as seen on Stack Exchange sites. What I would like is to get three things: the rep change amount, type of change, and question title. However, ...
0
votes
1answer
68 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 ...
2
votes
0answers
226 views

Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop

I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)). It seems ...
1
vote
1answer
661 views

Bad format returned by Stack Exchange API, not GZip?

I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or ...
2
votes
1answer
59 views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
2
votes
1answer
42 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
3
votes
1answer
73 views

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
0
votes
1answer
753 views

Unable to install script on Chrome

I posted a question on Meta Stack Overflow, and from there I was directed to install this script. When trying to install the script in Chrome, I get the following error: Apps, extensions and user ...
3
votes
1answer
87 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
2
votes
1answer
24 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
2
votes
1answer
36 views

How do I get a user's bio with the SE API?

Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2
votes
1answer
68 views

Moderation request: Make “scripts” and “user-script” into synonyms of “script”

We currently have three tags that are essentially the same thing -- especially in a stackapps context. They are scripts, user-script, and script. script is one of the "required tags" and has a nice ...
1
vote
1answer
146 views

Javascript SDK init fails on sytax error…why?

I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
2
votes
1answer
28 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
1
vote
1answer
79 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
2
votes
1answer
49 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
1
vote
0answers
921 views

StackOverflow android application to answer questions

I am a regular answerer on StackOverflow and I have been trying to use my Android phone for my workflow, but unfortunately the mobile Web application is very cumbersome to use: for example, the ...
1
vote
1answer
118 views

How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
1
vote
1answer
66 views
1
vote
1answer
51 views

Get all sites of type “main_site”

Is there a way to get all sites of type main_site from the /site method? If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
0
votes
1answer
68 views

Searching answers with API

I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile. For questions this seems to be quiet easy ...
1
vote
1answer
687 views

How to login programmatically using Android Code?

I think my questions is not a duplicate of this one How to login programmatically I have read the authentication document but still i am not able to get what should I do for if I want to perform ...
4
votes
1answer
139 views

Getting started: /users/{id}

I am trying to get the amount of reputation that a user has. I have established that I need to use this url: ...
1
vote
1answer
62 views

How do I find a user by their `display_name`?

I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name. As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3). I tried ...
3
votes
1answer
72 views

Array of all Stack Exchange sites with Name, URL and Description

I'm building a WordPress widget and need this array do display a dropdown where the user will select the target site. And with the selection value, the information will be built and displayed ...
1
vote
1answer
64 views

How do you list you stack exchange apps

I wanted to know how you're supposed to get a list of apps you've registered on the stack exchange api. I finally managed to find this url: http://stackapps.com/apps/oauth My question is this: How ...
2
votes
1answer
870 views

Get questions content from StackOverflow API

I need to get the question content from StackOverflow site. I already built the functions that parse the HTML for a question, and return me the question content. But, I found that there is an API, ...
2
votes
1answer
34 views

List of object types on SE API v2.0+

Beware: The API is Huge!! Below is the list of all the "types" of objects returned by the API v2.0+ :- Note: v2.1 specific types are noted in a seperate box Type | Field ...
2
votes
1answer
36 views

Can you identify a user from the access_token?

I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
2
votes
1answer
24 views

How can I re-authenticate StackAlert Addon

Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message key is not valid for passed access_token.. How ...
1
vote
1answer
53 views

Getting questions that have a specific tag or tags?

In the current api (2.1) how do you get questions that have a specific tag or tags? e.g.: 1) All stackoverflow questions asked in the past 2 months tagged 'ruby'? 2) All stackoverflow questions asked ...
1
vote
1answer
49 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: ...
3
votes
0answers
26 views

Should feature-requests, for third party apps, be flagged as “not an answer”?

I spotted this "answer" as a first-time post: Feature Request Please add support for proxies.... It would be helpful to people behind proxies. Like "ME" I was going to flag it as "Not ...
1
vote
1answer
47 views

Stack Overflow Firefox Extension

Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1. How can I migrate that to 2.1? How to authenticate my application ...
2
votes
1answer
56 views

Get accepted answers from Stack Overflow using Stack Overflow API 2.1

I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code $data = ...
1
vote
1answer
30 views

Ability to sort answers by number of revisions via StackExchange API v2?

I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric. I see mention of a sort function in the ...
8
votes
1answer
50 views

Whatever happened to closed_reason?

When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true. Proof: ...