All Questions
312 questions
2
votes
1
answer
66
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
1
answer
68
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 ...
1
vote
1
answer
40
views
What sizes are the images available through the /sites endpoint?
I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
0
votes
1
answer
383
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
JSON::...
2
votes
1
answer
173
views
How do I find all questions/answers per a tag?
Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP.
Per the docs the only thing I can see that will return questions in a ...
2
votes
1
answer
61
views
Is question_id unique across all stackexchange sites?
The standard structure of a question URL is:
http://site.com/questions/question-id/title
Example:
http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions
It is ...
3
votes
1
answer
92
views
Creating a home brew Push Server for Stack Exchange
I'm looking to create a home brew push notification server for Stack Exchange. This is mainly due to the fact that Toast Notifications within Windows Store applications are done using Windows ...
6
votes
0
answers
233
views
Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)
About
This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I happen to ...
3
votes
1
answer
71
views
Problem with /search tagged and max
Seems like a problem with /search when max is not set to today, and tagged is given:
https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
10
votes
1
answer
1k
views
SEAPI - A lightweight Python wrapper for the Stack Exchange API
About
A lightweight Python wrapper for the Stack Exchange API v2.1.
Built with Requests.
Why yet another SE API Python wrapper? (I'm aware of Stack.PY - A Python Module for Accessing the Stack ...
3
votes
1
answer
93
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
8
votes
2
answers
554
views
Getting unauthorized_error when using OAuth2.0
I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
3
votes
0
answers
98
views
Is it safe to change the OAuth Domain?
I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
18
votes
1
answer
5k
views
What is an oAuth domain
What is the oAuth domain that is mentioned in the StackApps app registration form? I googled it but couldn't find a good description.
14
votes
2
answers
279
views
Get favorited tags of user
This was requested in 1 and declined because of a missing authentication method.
Now that authentication is in place, is there a way to retrieve the favorited tags of a user (myself)?
2
votes
1
answer
73
views
Is there a way (or app) to get realtime updates of new questions with a given tag?
According to Stack Exchange API not realtime?, the API does not return results in realtime, but has 1 minute delay for the same query.
Is there a system or an app that delivers new questions in ...
9
votes
1
answer
212
views
What to do with "OAuth Domain" in the registration page for a browser user script?
I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use.
My project is a browser userscript that works with ...
2
votes
1
answer
221
views
Is there a difference between the API search and the search from within the site?
I'm curious if the search results from the API is calculated the same way as the searches from within the sites themselves?
Is there a difference between the two? If so, what are the differences?
1
vote
0
answers
267
views
How can my app authenticate users with only a Stack Overflow account, using the Stack Exchange OAuth API 2.1?
Recently I registered an app in stackapps.com to provide a way to authenticate users with their Stack Overflow account.
Then I noticed that Stack Exchange OAuth only works for users with a Stack ...
2
votes
1
answer
211
views
Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?
I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
4
votes
1
answer
52
views
Typo in the docs for /me
The doc says:
Returns the user associated with the passed auth_token.
This method returns a user.
It should say "access_token" instead of "auth_token".
3
votes
1
answer
60
views
Is the "link" URL enough to uniquely identify an "inbox_item"?
I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item?
Is the "link" URL enough to uniquely identify an "...
3
votes
1
answer
37
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
2
votes
1
answer
64
views
how to get the number of profile views
according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request
/2.0/...
4
votes
1
answer
87
views
What does "Unchanged in unsafe filters" mean?
Could someone clarify what this means? For example, what does it mean that the short_description field is Unchanged in unsafe filters for a Privilege?
5
votes
1
answer
67
views
Typos in the API 2.0 Documentation
Typo #1:
There are two different objects that represent a user in the Stack Exchange API, the full user object and the smaller shallow_user object. Which is returned depends on the method being ...
3
votes
1
answer
353
views
Java wrapper for the Stack Exchange API 2.0?
I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
5
votes
1
answer
54
views
Can I search over SE using SE API if I have only a username?
How do I can find someone's userid if I have only their username?
For example, my real username is: Zagorulkin Dmitry
My Stack Overflow userid is: 1321404
Are there any API methods for this kind ...
9
votes
0
answers
6k
views
sanction: a dead easy OAuth2 client Python implementation
Overview
sanction is a lightweight, dead simple (67 LOC!) client implementation of the OAuth2 protocol. The major goals of the library are:
Support multiple providers
Most providers have varying ...
5
votes
1
answer
47
views
/posts/{id}/revisions breaks for posts with [tag:*] content
Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error:
Example on Meta Stack Overflow (Post History)
Example on Mathematica (Post ...
2
votes
1
answer
103
views
/suggested-edits "Try it": Link for "suggested_edit_id" is broken
When using the "Try it" feature on /suggested-edits, the link for the suggested_edit_id points towards stackexchange.com and not towards the respective site.
For example, retrieve data ...
38
votes
2
answers
3k
views
StacMan - .NET client for Stack Exchange API v2
Features
Supports all Stack Exchange API V2 methods through version 2.1
Easy to use: one-to-one mapping between StacMan and API methods/params
Async is easy: methods return Task<T> so they're ...
3
votes
0
answers
52
views
How to get network profile username?
I was thinking I could just get the username from the response of /users/{ids}/associated (where {ids} is the not-site-specific id). But then realised that it returns only network_user (even though we ...
7
votes
1
answer
125
views
Can we have the display_name field in the /me/associated route?
I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter.
...
6
votes
0
answers
213
views
ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0
ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
11
votes
0
answers
238
views
TIARA - a tool for enhancing SE beauty
About
Quality is an important area of concern for Stack Exchange sites. Immediate quality concerns are generally handled through a combination of flagging and downvoting. However, some things don't ...
0
votes
1
answer
73
views
Add message ID to inbox items
Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
1
vote
1
answer
288
views
"client_id not provided" when trying to obtain an access_token
So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back.
Instead I get an ...
2
votes
1
answer
74
views
/answers endpoint is error-500-ing against many sites
Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors:
http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming
{"error_id":500,"...
3
votes
2
answers
1k
views
Python library for the StackExchange v2 API? [duplicate]
So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
1
vote
0
answers
26
views
Why are Meta sites' "site_state" = "linked_meta"?
In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta
Instead it would be more useful if ...
2
votes
1
answer
111
views
Reputation API to display a reputation history
I'm building something similar to the reputation graph / summary on the SO user page.
The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
1
vote
1
answer
46
views
Inbox unread since parameter not working
The since parameter of /inbox/unread no longer seems to work.
I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
16
votes
1
answer
1k
views
Registering app for API 2.0 key without Oauth domain
I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now.
I basically have two questions:
...
0
votes
1
answer
60
views
Is there any API to support creating a new question on stackoverflow? [duplicate]
I know there is api for stackoverflow.
It looks like the APIs are read-only, supporting the Get/Search operation.
Is there any API to support creating a new question on stackoverflow?
1
vote
1
answer
69
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...
12
votes
2
answers
1k
views
Sanction - An OAuth 2.0 implementation
Code Snippet
from sanction.client import Client
from sanction.adapters.google import Google
client = Client(Google, {
"google.client_id": "myclientid",
"google.client_secret": "...
0
votes
1
answer
603
views
400 Error when attempting to retrieve authenticated user data
I am attempting to use the /me API to retrieve an authenticated user's details but I am receiving a 400 error.
I am able to complete the OAuth2 dance and have been able to capture the access token ...
0
votes
1
answer
35
views
Error when requesting the last page of results.
When I try to view the following URL:
http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow
I get the error:
{
"error_id": 500,
"error_name": "internal_error",
"...
0
votes
1
answer
77
views
Security certificate error when logging in with myOpenID
I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the ...