11

Demo

stk.so demo

Why

When building my personal site, I realised that SO seemed to be one of the (or rather, the only) platforms that didn't allow users to create a short, username-based link —

original-problem

After a quick google search, landed on this post where it seemed like I wasn't the only one to experience this mild annoyance.

Enter — https://stk.so

Scopes

The app is intentionally designed to request user authorization as that avoids the issue of random people generating short URLs for profiles that don't belong to them.

Since that's its only purpose, I'm NOT requesting any scopes when using the implicit flow

stk-so-no-scopes

9
  • I give authorization but It keeps loading and showing "Authorizing Application" Commented Jun 25, 2022 at 13:38
  • @TiagoRangeldeSousa — I'm running into the same issue when trying to authorize via the official SO JS SDK here — api.stackexchange.com/docs/js-lib Could you too please scroll to the bottom of the page, click on the 'Run Example With Version 2.3' button and help me test this at once? Commented Jun 27, 2022 at 18:25
  • The same thing happens, it's stuck in the authorizing part Commented Jun 27, 2022 at 18:45
  • Oh now I have noticed that I have an error on the console! Uncaught TypeError: Cannot read properties of null (reading 'postMessage') Commented Jun 27, 2022 at 18:49
  • 1
    I've reported the issue here — stackapps.com/questions/9455/issue-with-javascript-sdk Commented Jul 5, 2022 at 18:04
  • You can remove the username from the link to your profile, SO will add it automatically: stackoverflow.com/users/10713297
    – A.L
    Commented Jul 8, 2022 at 0:21
  • @TiagoRangeldeSousa — the issue has now been solved. Could you please try using stk.so again? Commented Jul 20, 2022 at 12:43
  • 1
    Works perfectly now!!! Commented Jul 20, 2022 at 13:34
  • 1
    I shouldn't doubt that I will find you here too. Just say Hi!
    – oshliaer
    Commented Aug 9, 2022 at 17:50

1 Answer 1

1

When I click "Sign in with Stack Overflow" and authenticate myself, I can see a few items in the user details box - my User ID, reputation, badge count, and profile image.

Except that I can't see my profile image. The image element in the HTML points to https://www.gravatar.com/avatar/76884a1260f15088a41f5cbcf63c99ae, or

gravatar icon

To fix this, all you need to do is add ?d=identicon to the end, like this: https://www.gravatar.com/avatar/76884a1260f15088a41f5cbcf63c99ae?d=identicon

user profile logo

Edit: Apparently this is only a problem for users who have never set their profile picture before. Although it isn't a major issue, it's still worth fixing - there are a lot of users who have never changed their profile picture.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .