Hot answers tagged

17

BUG: this script desperately wants me to downvote, what to do? warning:troll answer.


6

No. Currently the users type does not return any private_info and neither does the user_timeline type return any voting information. No other API method allows for detecting a user's vote history except one question at a time. You would have to fetch every single question and test the downvoted and the upvoted properties. If you limited your search ...


5

Unicorn Starring a userscript to bring unicorns to chat stars! Only uses the OP images. Same License. Don't sue me George Install


5

I recreated a few more of the original animations as GIFs on imgur (from the static pngs). To use them, just replace the if(vote_up) {} block in above userjs with: var animations = [ // down [ // url top height ['http://i.stack.imgur.com/BhbcF.gif', 65, 116], ['http://i.stack.imgur.com/notGT.gif', 75, 108]...


5

I'll slot this in for v2.1, not super useful in general but definitely interesting information that we should make available.


5

It's allowed with the caveat there's no guarantee it won't be merged, provided that you abide by the good faith criteria. If you attempt to actually run something like the script in your previous post, for example, both accounts will likely be suspended without second thought. Having a separate account for testing doesn't shield you from the consequences of ...


2

I don't have much experience with HttpClient but the problem does not seem to be caused by your code. Probably it is the lack of required parameters that causes problem. When I called this function in C#, I passed following parameters in order to make it work. I am not sure about "preview" parameter but I believe the site parameter is a must. Hope this ...


2

You need to use a filter that returns those properties. The default filter does not. Also, the API is at version 2.2. You should use that unless you've a very good reason not to. So try, for example: http://api.stackexchange.com/2.2/users/55075?site=stackoverflow&filter=!G*ky*lRuarbDJTpnwEtY-a05oz Or: http://api.stackexchange.com/2.2/users/55075?...


1

Well, the response has been underwhelming so far, but fortunately the powers that be decided to restore the voting tab on the profile page: http://meta.stackoverflow.com/a/130380/182796 So a client-side extension is no longer required.



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