Hot answers tagged

4 votes

StackPrinter: The Stack Exchange Printer Suite

The default bookmarklet javascript has problems when used with mathoverflow. Because annoyingly mathoverflow ends with a .net instead of a .com. I made some changes so that it could also work with ...
Jose Capco's user avatar
3 votes
Accepted

The /questions endpoint only returns around 30,000 items where 400,000 are expected

This looks like a bug in the API. The response wrapper object has a field has_more to indicate if there are more records beyond the page you fetched. For unknown reasons has_more returns false when it ...
rene's user avatar
  • 2,482
3 votes

Stack Exchange API in Chrome extension

I've built an extension that uses StackExchange API using OAuth2 flow. I did not use the JS SDK and did it manually instead. Here is how I did it: function auth(sendResponse) { const scope = '...
mmohammad's user avatar
  • 141
3 votes

Why is "body" missing from certain inbox items?

The documentation was updated sometime in the last 2 years and the API docs (version 2.2) now state that the property may be absent:
Brock Adams's user avatar
  • 12.9k
2 votes

StackImpact - What's your impact?

Hmm… a couple of bugs in this: It doesn't seem to be accounted for that accepting your own answer doesn't earn any rep. Selecting a Sunday will make it load the previous week, instead of the one that ...
Nissa's user avatar
  • 121
2 votes

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

In my particular case, I somehow managed to append % character to the end of the access_token. There should be no % character at the end of the access_token.
Gajus's user avatar
  • 163
1 vote

StackExchange API Java SDK

In this case the right repository config would be like: <repository> <id>oss.sonatype</id> <url>http://repo1.maven.org/maven2</url> <releases> ...
Digao's user avatar
  • 111
1 vote

Main Stack Exchange network site API

You are not missing something. 'Stack Exchange' is not a site in terms of Questions and Answers. It has the sole purpose of offering users (not API consumers) a common place across all network sites. ...
rene's user avatar
  • 2,482
1 vote
Accepted

How can I the question detail page and add comments like the Stack Exchange app?

Can we get the list of data when clicking on the specific question and display the question detail page like the Stack Exchange app? Sure: use the /questions/{ids} method and apply the appropriate ...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

After which time span can my vote no longer change?

It's no different in the API than it is for the main site. From the FAQ: you may change your vote within a five minute window from the time of the first vote you cast on that post. Note that after ...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

Do my users need to be logged in, for quota?

Your app can just give them the link, and they don't need to be logged in. The quota is a function of your API key (mainly). Register your app and use a key and that will give you a 10K quota. See:...
Brock Adams's user avatar
  • 12.9k
1 vote

access_token not present in /oauth/access_token response

Unpack response content with $response->getBody()->getContents(). use GuzzleHttp\Client; Route::get('/approve', function () { header('Location: https://stackexchange.com/oauth?client_id=12345&...
ajthinking's user avatar
1 vote
Accepted

Authentication uses # instead of `?`?

Refer to the generic URI syntax, it is perfectly valid to have a fragment (The optional part of a URL that starts with an octothorpe #) without a preceding query (The optional part of a URL that ...
Brock Adams's user avatar
  • 12.9k
1 vote

Get favorited tags of user

Good news! The (yet undocumented) api version 2.3 has this feature. https://api.stackexchange.com/2.3/users/{id}/tag-preferences?access_token=...&key=...&site=StackOverflow.com will give you ...
captncraig's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible