4,049 reputation
1924
bio website
location
age
visits member for 3 years, 10 months
seen 1 hour ago

23h
comment How do I add newlines when editing a post body via the API?
You should post an answer here (or delete this Q). Include an example of the Python code you ended up using.
1d
comment How do I add newlines when editing a post body via the API?
The form encoded string that your app sends should contain %0D%0A bits. If it has %250D%250A, you're miss/over encoding. What language are you using? For most languages, it's just \r\n in a plain ASCII string.
1d
comment How do I add newlines when editing a post body via the API?
Sequence matters. It should be \r\n and the string should have the hex bytes 0x0D, 0x0A (before form encoding). Make sure you escape (or don't) the `\`s properly for whatever language you are using.
1d
comment Want a way to give your user the access token nicely?
Why not just have your app/script get the token automatically as needed?
1d
comment GrabDuck.com: full-text search and recommendations on your StackOverflow Favorites
Okay​‌​‌​‌​‌​‌.
May
23
comment Metro Stack - A Windows Phone Stack Exchange app
@Flo, See (and upvote) the related bug report.
May
15
comment Script Request - Meta Notifications
Good! Now help me test/document Tampermonkey for this new potential security flaw (You break it, you bought it). :P
May
15
comment How much traction does your StackApp get?
Welcome to the lonely, "Long tail". ... Perhaps you will be hailed as a genius a few years after your death? :) ... Seriously, if you can fill a need on Meta Stack Exchange you might get some more momentum. Maybe.
May
14
comment A script that notifies you about posts related to you?
@Tim, Something that's "close enough" might be doable on lower traffic sites. Pretty sure it will still bust quota on sites like Stack Overflow for at least some users -- especially when polling is factored in.
May
14
comment quota_remaining is decreasing much faster than expected
No key and access_token are very different. key identifies an app. access_token identifies a logged-in user of that app. See here for a Q&D example of using an access_token (with the client-side OAuth flow enabled in the app's settings).
May
14
comment quota_remaining is decreasing much faster than expected
16000 seconds; that's over 4 hours! Your IP must've been seriously abusing the API. Maybe the quota weirdness is a precursor to a permanent ban? ... Anyway, see the Throttles page: Since you are not using an access_token, the 10K quota limit is shared by everything on your firewall's IP.
May
14
comment quota_remaining is decreasing much faster than expected
Works okay for me (using my own app key). Are you behind a corporate/university/country firewall with a lot of other people? Sure you don't have other SE apps running?
May
13
comment Script Request - Meta Notifications
Did you test this script on Firefox+Greasemonkey? It should not work! It uses jQuery without @requireing it, while the sandbox is on. ... I see that kind of thing works on Tampermonkey now (it shouldn't), which may be a security hole that was introduced in TM in the last few months.
May
8
comment Can I post a suggestion for a stack app?
Oops. Answered here before I realized it was a dupe. The dupe's answers are mostly opinion polling, alas, as specifically stated with verbiage like "My humble opinion:" in half the answers!
May
8
comment How to make unlimited requests to API
See "How API Keys Work". If you have a legitimate need for more than 10K calls, you may contact Stack Exchange and get an increase.
May
7
comment Sane limits for script that auto-loads new reviews for easier manual reviewing
I don't see a question. Please add a 1-sentence summary. See also "Is it possible to access data in real-time using the Stack Exchange API?". You just need to worry about the quota, the API throttles, and the backoff flag (if you are using the API). If you are using pure JS techniques, reloading a page every 30 seconds is probably okay, but many things only update every 60 seconds.
May
7
comment 'Activity' tab on profile as default
You're welcome!
May
5
comment Can not request info after OAuth
No, you'll only get the 403 because you got the previous 406 error. Just keep everything on https: and you'll be okay.
May
5
comment Add the 'people reached' count to the API?
Don't forget to upvote the related feature-request for the SEDE.
May
5
comment How to get the “People reached” stat of a user, using the API?
This should be a comment, not an "answer", and a hint to flag as a duplicate. ;)