Hot answers tagged

11 votes

Pronoun Assistant

feature-request status-completed Can you implement some kind of support for those of us who are fine with any pronoun, i.e., have no preference? I realise I could probably write something like ...
Wrzlprmft's user avatar
  • 221
9 votes

Pronoun Assistant

bug/feature-request status-completed Strip out the http://my.pronoun.is/ portion of the pronoun tag under the username, seeing as how you can't click on it anyway.
MBraedley's user avatar
  • 193
7 votes
Accepted

How to get total visited days and consecutives of an user?

You cannot get the days visited, nor consecutive, information for a user because that is private information(Poster is SE representative). Stack Exchange is supposed to be about the content, not the ...
Brock Adams's user avatar
  • 12.9k
5 votes
Accepted

(Should we) add [Staff] labels to staff member flairs?

Tada! πŸŽ‰ This was an easy change on our end, it turns out we already had functionality to turn this on for individual sites. Our code doesn't define Stack Apps as a Meta site so Stack Apps doesn't get ...
Kyle Pollard's user avatar
  • 166
5 votes

(Should we) add [Staff] labels to staff member flairs?

This request will be status-planned and we hope to have this completed in the near term in a future sprint.
tanj92's user avatar
  • 151
4 votes

Pronoun Assistant

bug status-completed Clicking the name of someone in chat breaks the userscript (pronouns no longer appear). To make it more generic, DOM updated to chat, and to main sites (.post-layout, comments, ...
double-beep's user avatar
4 votes

Pronoun Assistant

bug status-completed Seems like there are similar requests for users' info on Chat.SO that fails due to CORS-blocking. You might want to disable the script for Chat.SO so we don't make unneccessary ...
Samuel Liew's user avatar
  • 1,001
3 votes
Accepted

How to get the user's pinned sites?

This information is not available in the officially released version of the API (2.2) and you won't find it in the documentation. However, the Stack Exchange mobile apps have some 'special' API ...
Glorfindel's user avatar
  • 6,762
3 votes
Accepted

Is there a way to get a user's account ID given his site's user ID?

The 2.3 SE API has a account_id property on the shallow_user object, which is the user's SE account ID, so you can get the user's SE account number from any request which returns that object as part ...
Makyen's user avatar
  • 1,615
3 votes
Accepted

Using API with sites like JSFiddle and CodePen?

This is not the most educated answer, but through trial and error I have found a way to get the information I'm needing for my project. However, the biggest downside to this method seems to be the ...
Hazel γΈγ„γœγ‚‹'s user avatar
3 votes

Pronoun Assistant

feature-request Can this be made to work on the transcript? It doesn't, currently.
Stormblessed's user avatar
3 votes

Can I fetch Stack Overflow users by location in Stack Exchange API

It's not possible (short of fetching all users and filtering yourself). The API simply does not offer that query. For alternatives, see the Data Explorer (SEDE): https://meta.stackexchange.com/q/...
Glorfindel's user avatar
  • 6,762
3 votes

How to get a list of all StackExchange employees?

Updated thanks to comments by Brock Adams and user43888. There are two methods to achieve this: Method 1: inefficient, but future-proof as it only depends on the SE API. Query the SE API for all ...
Gaurang Tandon's user avatar
2 votes
Accepted

How to use shallow_user?

You don't use shallow_user; several routes (can) return it. If you want the reputation for a user, you would typically use the /users/{ids} route. EG:           /2.2/users/...
Brock Adams's user avatar
  • 12.9k
2 votes

OBSOLETE - SkillRep - experiment in computing a skill focused reputation

Sorry all, I closed the site. This was taking way too much space on my server's hard disk and I felt the burden on SO servers was ridiculous for such a tiny amount of users (this never took off). ...
Denys Séguret's user avatar
2 votes
Accepted

Please provide an API "flair"-data call (`/associated` route is inadequate)

A unified call would be nice, but everything you asked for falls into one of 3 categories: It's already in the users/{ids}/associated call. It's trivially easy to calculate in the app or script. EG: ...
Brock Adams's user avatar
  • 12.9k
2 votes
Accepted

Timeline activities appear to be missing (because creation_date has wrong and useless values)

This is probably a variation of this bug and a variation or repeat of this bug that was partially fixed (once upon a time). Anyway, the timeline does show all your events as can be seen with this ...
Brock Adams's user avatar
  • 12.9k
2 votes
Accepted

How can I get user links in the API call like Twitter, GitHub and so on?

The API only returns the website link (jarroddixon.com), not the Twitter and GitHub usernames. You can check the results here. The same holds for the Users table in SEDE, so that's not an option ...
Glorfindel's user avatar
  • 6,762
2 votes

Don't let me interact with this user's posts (for sockpuppets, mostly)

Here's v2, which uses account IDs instead of user IDs and works across all sites. It does, however, need to make an API request upon visiting any /questions/* page. // ==UserScript== // @name ...
41686d6564's user avatar
2 votes

Pronoun Assistant

bug status-completed DonAntonio's math.SE profile contains: ... at least shortly, her/his downvote, making it clear ... This is interpreted as "her/his" pronouns.
Rebecca J. Stones's user avatar
1 vote
Accepted

How to get all communities a user is associated with?

Yes, that's what the associated users operation does: It needs the network account ID of a user, which can be found in the URL of a network profile or you can retrieve it via an API call to users by ...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

Where do I get the user impact?

No, those fields are not exposed on the user object. They are not in SEDE either, according to the schema. I think those fields have been added after the API was created, and they simply didn't bother ...
Glorfindel's user avatar
  • 6,762
1 vote

Pronoun Assistant

feature-request Currently, the script only searches a user's chat profile for pronouns to use when in chat. This means that users who only list their pronouns in their main site profiles don't have ...
caird coinheringaahing's user avatar
1 vote

Pronoun Assistant

// If we're on a Q&A site, also cache all changes to the `users` object to save on API calls Can I purge this cache manually, e.g. after changing the About me entry and/or is there an automatic ...
Gerold Broser's user avatar
1 vote
Accepted

How do I get information about top users of a Stack Exchange community?

That /users route works perfectly fine for showing the top users (of all time). For example to get the top 20 Mathematics users, use:           /2.2/users?pagesize=20&...
Brock Adams's user avatar
  • 12.9k
1 vote
Accepted

Get everything touched by a user?

Since some users might exhaust your quota, for such a set of data, this might be a better job for SEDE. In your API approach, not sure why you are getting question id's from answer id's. You can ...
Brock Adams's user avatar
  • 12.9k
1 vote
Accepted

Paging issue: is /users/{ids}/associated API route returning incomplete information?

No, this is not a bug. When paging, you must remember and then combine the results from all pages. So if you fetch: /2.2/users/1144996;6913068;6453670;1751488;73042;1840350/associated?page=1&...
Brock Adams's user avatar
  • 12.9k
1 vote

Show User Accept Rates

I've updated this to work with current SE (which was just an edit to include HTTPS instead of HTTP sites) and just tweaked the code a bit to use jQuery functions in place of building elements with ...
miken32's user avatar
  • 111
1 vote

How do I get the no. of upvotes a person has received for a particular tag?

It's not easy to get this via the API, a SEDE query is the better tool for the job here. If you need to do it via the API: Start with the excerpt search; it has parameters user and tagged which you ...
Glorfindel's user avatar
  • 6,762

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