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 ...
I forgot to add the scope in the authentication url according to this document
1.Send a user to https://stackexchange.com/oauth, with these query string parameters
◦redirect_uri - must be under an apps registered domain
◦state - optional
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.
Event Logging, Caching and Throttling
I've just finished implementing these features.
Event Logging is a new feature that allows us to debug different methods on the bridge by hooking the events at client.EventLog, and examining the messages logged there.
Caching was already present on the previous version of the bridge, but it now supports multi-...
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 ...
I don't know why but I am not able to install that package. I'll get this error:
PM> Install-Package StacMan
"StacMan 22.214.171.124" wurde erfolgreich installiert.
"StacMan 126.96.36.199" wurde erfolgreich deinstalliert.
Installationsfehler. Rollback wird ausgeführt...
Install-Package : Das Paket "StacMan 188.8.131.52" konnte nicht installiert werden. Sie versuchen, ...
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.
I've just downloaded the app, entered this for the tags:
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 ...
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....