mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Get URL For GitHub User Profile Photo as a Workflow TIL
This commit is contained in:
27
workflow/get-url-for-github-user-profile-photo.md
Normal file
27
workflow/get-url-for-github-user-profile-photo.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Get URL For GitHub User Profile Photo
|
||||
|
||||
You can access your (or really any user's) profile photo by visiting the GitHub
|
||||
profile URL with `.png` added on to the end.
|
||||
|
||||
So, my GitHub profile URL is:
|
||||
|
||||
```
|
||||
https://github.com/jbranchaud
|
||||
```
|
||||
|
||||
If I were to add `.png` on to that and visit it in my browser:
|
||||
|
||||
```
|
||||
https://github.com/jbranchaud.png
|
||||
```
|
||||
|
||||
I'd be redirected to the following URL:
|
||||
|
||||
```
|
||||
https://avatars.githubusercontent.com/u/694063?v=4
|
||||
```
|
||||
|
||||
This is the stable URL for my GitHub avatar. In the browser I will see the full
|
||||
resolution image which I can download as needed.
|
||||
|
||||
[source](https://dev.to/10xlearner/how-to-get-the-profile-picture-of-a-github-account-1d82)
|
||||
Reference in New Issue
Block a user