Hot answers tagged

5

To get the questions in a tag you can simply use the /questions endpoint as that does accept a tagged query parameter, from that document page: To constrain questions returned to those with a set of tags, use the tagged parameter with a semi-colon delimited list of tags. This is an and contraint ... The API endpoints can relatively simple be used from ...


3

You're treating the response as a UTF-8 encoded string. That's bound to fail with binary data like GZip. A quick fix is to use Encoding.GetEncoding("iso-8859-1") instead of UTF8 in StringToByteArray, and also pass this encoding to the StreamReader constructor in FetchURL. That encoding maps bytes to codepoints one-to-one; see this answer on Stack Overflow. ...


3

I forgot to add the scope in the authentication url according to this document https://api.stackexchange.com/docs/authentication#scope 1.Send a user to https://stackexchange.com/oauth, with these query string parameters ◦client_id ◦scope (details) ◦redirect_uri - must be under an apps registered domain ◦state - optional


1

Fixing WebBrowser Control I also had the issue of the WebBrowser control handing when trying to login. Although requesting a token in IE (11) works, I found that IE itself also hangs when I put it in IE 7 emulation mode. This suggested to me that my previous attempt to make the WebBrowser control use a newer version had failed. I found this article, Web ...


1

I don't know why but I am not able to install that package. I'll get this error: PM> Install-Package StacMan "StacMan 1.0.1.0" wurde erfolgreich installiert. "StacMan 1.0.1.0" wurde erfolgreich deinstalliert. Installationsfehler. Rollback wird ausgeführt... Install-Package : Das Paket "StacMan 1.0.1.0" konnte nicht installiert werden. Sie versuchen, ...


1

I'm using C# for the first time. When I compile the StacMan source under the v3.5 framework I get this error: Error 2 Default parameter specifiers are not permitted StacManClient.SuggestedEditMethods.cs From what I have read, it seems that this error occurs when not using the .NET framework v4 for compiling. Any suggestions?


1

I've just downloaded the app, entered this for the tags: meteor JavaScript And got the following error: soapi-notify: There was an error retrieving results. The remote server returned an error: (400) Bad Request. Press CTRL-C to exit. Another issue: if I lose network connectivity and a poll happens, the app will break, and won't reconnect. If the app ...


1

Feature Request The active questions queue shows posts that have been edited. I like to watch that. But I can't get a List of Answers sorted by activity, only Questions. I am looking for something like this var o = new PostOptions(); o.SortBy = Sort.Activity; o.SortDirection = SortDirection.Descending; o.FromDate = DateTime....


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