Tag Info

Hot answers tagged

3

It's pretty easy to get the bibtex, just send a GET request formatted like so: http://mathoverflow.net/posts/{POST NUMBER}/citation For example, for this Math Overflow question, you can get the bibtex for the question and top 2 answers with: mathoverflow.net/posts/105922/citation (Question) mathoverflow.net/posts/105930/citation (Answer 1) ...


3

I've made a userscript to do this. Update: This has been added to the dev version of my SE Additional Optional Features userscript - please install that instead of this. Any updates will go straight to that userscript, not this! Get it at Github. It gets the latest 5 questions posted on the per-site meta of the current site and adds a diamond to the ...


2

If the answer is the accepted answer, is_accepted is true and anyone can see it. accepted is set to true only if the currently authenticated user is the one who has accepted the answer. For instance, if I obtain an access_token with the private_info privilege and call: /2.2/questions/30028657/answers?site=stackoverflow&key={YOUR APP ...


2

This is a classic "procedural" (or "row based" or "sequential") versus "set based" issue. See Understanding “Set based” and “Procedural” approaches in SQL or any one of thousands of similar articles. The API uses SQL to get its results and the idea of requiring an arbitrary order to results is anathema in SQL -- a sign of possible deficiencies in "set ...


2

I've made a userscript to do this. Get it at Github. It will add a button next to comments that belong to you after you have posted them (so not as you're writing). Clicking it will produce a prompt asking you for the number of days in which to delete the comment. Eg. entering 2 will delete it in exactly 2 days. It checks every o'clock for times that ...


1

Use the /users/{ids} route to get account_id. Then pass the account_id to /users/{ids}/associated. Note that account_id is exactly the kind of information that should be heavily cached by your script/app. (Hint, hint; wink, wink; nudge, nudge. (^_^) ) For example: /2.2/users/10349?site=superuser&filter=!T6o*9deY.2ZD3-(n4f Returns: { ...


1

First, read and thoroughly understand both: What topics can I ask about here? (Stack Apps) and What types of questions should I avoid asking? (Stack Apps) That said, you can propose changes to the API, or request apps, or request scripts. Keep in mind that this site is not an app/script writing service and almost everyone here is a volunteer. It would ...


1

Your second call must be https:. You actually got an error like: "error_id":406, "error_message":"Access token sent over non-HTTPS request, it has been invalidated", "error_name":"access_token_compromised" On the first attempt. Only subsequent attempts, with the same token, would yield the 'key' is not valid for passed 'access_token' error. When ...


1

You can't as of now. It doesn't exist in the API. Here's a feature request I made - please upvote that for higher chances of getting this added! :)


1

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 ...


1

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: ...



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