Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
2 votes
1 answer
108 views

Authentication uses # instead of `?`?

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
moein rahimi's user avatar
2 votes
1 answer
61 views

The `top_questions` field shows outdated information?

I am using Stack Exchange API. I posted question from the doc page /questions/add to Stack Overflow. This was my first question. As that question was to check the function /questions/add, means it was ...
amit jha's user avatar
  • 842
2 votes
1 answer
195 views

"client_id rejected" error when retrieving the access_token

I'm developing an application in C# and I to post questions, so I need an access token. I registered my application and I have received a client ID. Then I get the following query-string to get the ...
user2621858's user avatar
2 votes
2 answers
292 views

How to set the width of an image in the body of a question?

I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
Pwner's user avatar
  • 185
2 votes
1 answer
118 views

AttributeError with Py-StackExchange

i'm trying to execute this python script : #! /usr/bin/python import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) my_favourite_guy = so.user(41981) print my_favourite_guy....
Adeel ASIF's user avatar
2 votes
1 answer
82 views

Advanced search API not returning data for "phonegap" tag

I am trying to gather results from the API for the tag phonegap but the API is not returning any data. I am using /search/advanced and get nothing back for November: { "items": [], "...
Rod Burns's user avatar
  • 123
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 ...
Sirko's user avatar
  • 295
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,"...
agent86's user avatar
  • 3,277
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 ...
russau's user avatar
  • 193
2 votes
1 answer
61 views

Mistake in API 2.0 Documentation - Wrong item type for Careers Message

On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
Adam's user avatar
  • 809
2 votes
1 answer
41 views

/users/{id}/tags/{tags}/top-answers returning answers by other users

According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag. Returns the top 30 answers a user has posted in response to questions ...
nobody's user avatar
  • 864
2 votes
1 answer
38 views

Answer vote counts are not correct

I was trying to figure out the total number of answers I have that have been downvoted, and at first everything seemed awesome since the total was zero. However, I knew this wasn't correct. For ...
agent86's user avatar
  • 3,277
2 votes
1 answer
24 views

type related_site not listed in 'by type' tab list

The type "related_site" is not listed in the 'by type' tab in documentation.
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
41 views

Can I get more results/options from /users/{ids}/top-answer-tags?

/users/{ids}/top-answer-tags returns the top 30 tags for a given user. It's also the only endpoint that returns the user's tag scores along with the rest of the tag info. I'd like to use this data ...
agent86's user avatar
  • 3,277
2 votes
1 answer
60 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
neydroydrec's user avatar
2 votes
1 answer
82 views

TLS security warnings from api.stackexchange.com

Each time an API request is made over HTTPS, Firefox generates the following message in the error console: Curious, I looked up RFC 5746 and the document covers the following: Transport Layer ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
21 views

No views_per_day in /info route?

I'm not particularly crying over it, just curious why the views_per_day field was dropped?
Jonathan.'s user avatar
  • 3,118
2 votes
2 answers
150 views

Once authorized, is there a way to auto-login with a browser?

Assuming I've created an app that authenticates the user against api-v2, is there a method to get a token or cookie that I can pass to a browser instance set to load a stack exchange site that will ...
Adam Davis's user avatar
  • 2,233
2 votes
1 answer
136 views

Am I out of luck if my http client doesn't support gzip decoding?

I'm playing with the oauth2 support in v2-beta with an http client that doesn't support gzip decoding. (My client is http spec compliant but can't deal with the non-compliance of the api on this issue)...
Eric Bloch's user avatar
2 votes
0 answers
75 views

How to get user information of Stack Overflow?

I'm currently using the Stack Overflow API to get a user's information (via Stack Exchange). Is it possible with the Stack Overflow API to get user details?
saravanaprasath's user avatar
2 votes
0 answers
70 views

Can I have more than one OAuth Domain?

I tried to set more than one OAuth Domain, but seems to it's not working. I tried to set them separated by comma or space, but got redirect_uri - must be under an apps registered domain error message. ...
mohax's user avatar
  • 121
2 votes
0 answers
104 views

Login problem on devices pre Windows Phone 8.1 Update 1

I have recently published an app for browsing Stack Exchange websites and a major feedback I received from users was about the inability to use oauth login form while logging into the app. The ...
Birkan Cilingir's user avatar
2 votes
0 answers
474 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: https://stackexchange.com/oauth/dialog?client_id=3535&scope=write_access&redirect_uri=https://stackexchange.com/...
2359967's user avatar
  • 103
2 votes
0 answers
27 views

/revisions/{ids} returns results where revision_number is always 1

As of now, Code Review Question 59285 has three revisions, excluding the original question. If I fetch those three revisions using the API, I see that all of them have revision_number set to 1. That'...
200_success's user avatar
2 votes
0 answers
116 views

Unhelpful error message when attempting to authenticate [duplicate]

I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
Zev Eisenberg's user avatar
2 votes
0 answers
109 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
Besi's user avatar
  • 533
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?
James Mertz's user avatar
2 votes
1 answer
96 views

No answer_id for Comment on answer inbox_item

According to the API documentation on inbox_item, inbox items corresponding to a comment on an answer to a question should have an answer_id field identifying the answer that the comment was on, but ...
yuji's user avatar
  • 273
2 votes
1 answer
34 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
47 views

There is a small discrepancy in the docs for users-id-associated

The main doc page, https://api.stackexchange.com/docs, shows /users/{id}/associated while the method page, https://api.stackexchange.com/docs/associated-users, uses /users/{ids}/associated. It's ...
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
39 views

integer and decimal are used to describe fields in return types but not in method parameters

Integer and Decimal designations are useful in creating an accurate model of API methods and types. These specific 'number' subtypes are used when describing types but the method parameter lists all ...
Sky Sanders's user avatar
  • 12.1k
2 votes
0 answers
31 views

Name changes for a few methods

The following method names have been changed for reasons of consistency. /access-tokens/{accessTokens}/read is now /access-tokens/{accessTokens} /filter/create is now /filters/create /filter/{filters}...
Kevin Montrose's user avatar
2 votes
0 answers
38 views

Fairly subtle filter bug between 8 am and 10 pm UTC Dec. 29th

This is a public service announcement about a bug that most people probably didn't notice, but might be biting you pretty hard about now. Between 8 AM and 10 PM UTC December 29th, filters generated ...
Kevin Montrose's user avatar
2 votes
0 answers
32 views

Secure OAuth pages contain insecure content.

I noticed that some of the OAuth pages use insecure content (http:// content on an https:// page): I'm not sure how easy this is to fix but it could potentially scare off some users who don't ...
Nathan Osman's user avatar
  • 23.3k
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 ...
Kristian Glass's user avatar
1 vote
2 answers
71 views

How about a regex filter in the tags API?

The tags API has a "filter" parameter but it only matches the exact substring in the parameter in the tags. On Travel we have one kind of tags, IATA airport codes (SYD for Sydney, SFO for San ...
hippietrail's user avatar
1 vote
1 answer
235 views

OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string

I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
Rob W's user avatar
  • 2,669
1 vote
1 answer
693 views

No 'Access-Control-Allow-Origin' for oauth/access_token

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
ajthinking's user avatar
1 vote
1 answer
6k 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 ...
hesam's user avatar
  • 31
1 vote
1 answer
45 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
Deesbek's user avatar
  • 111
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 ...
Gary S. Weaver's user avatar
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 ...
Jonathan.'s user avatar
  • 3,118
1 vote
1 answer
186 views

API is accepting requests from other OAuth domains

I've set an OAuth domain for an application (the client_id is 24) and the following link authorizes the application: https://stackexchange.com/oauth/dialog?client_id=24&scope=no_expiry,...
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
34 views

Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?

In another question I asked it was established that The IP, and user/app-pair quotas are separate in V1.x and V2.0. So with this in mind would an app or script which implemented like methods for ...
hippietrail's user avatar
1 vote
1 answer
154 views

OAuth Domain can't satisfy redirect_uri AND Proxy url

Let's say I have an app called ExampleApp, with these details: Client ID: 12345 Key: ThisIsTheKey123() OAuth Domain: exampleapp.com [√] Enable Client Side OAuth flow [√] Disable ...
Lakshya Raj's user avatar
1 vote
1 answer
210 views

How to apply an access token in order to scrape the recommended answers?

I'm trying to scrape some data which needs the access token, and I received 'Applications must have a registered Stack Apps post to write' Does that mean I need to post a question on Stack Exchange ...
StarRiver's user avatar
1 vote
1 answer
113 views

App post got deleted

I'm currently writing an app using the Stack Exchange API. Today I wanted to rework the login component, but after signing in I get the following message: Application must have a registered Stack ...
Norbert Bartko's user avatar
1 vote
1 answer
3k views

How can I use an iOS custom URL scheme as redirect_uri?

I am trying to implement OAuth using iOS URL schemes. For example if I provide myapp:// as redirect_uri the app should launch. However, I cannot add it as OAuth domain in the Stack Apps settings, as ...
Toma's user avatar
  • 113
1 vote
1 answer
74 views

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 a specific question and display the question detail page like the Stack Exchange app? I can't find the API to get them so far, so I decided to display the ...
user13414590's user avatar
1 vote
1 answer
237 views

How to get access_token from the uri after the fetch function executes?

I am using this snippet to authorize to the Stack Exchange API const baseUrl = "https://stackexchange.com/oauth/dialog?client_id=17823&scope=read_inbox,no_expiry&redirect_uri=https://...
Saurabh Bharti's user avatar

1
3 4
5
6 7