+ 10
How do some people know the url of avatar pictures while SoloLearn api is private ?
For example, how do Chirag know the url of avatar pictures in this code? https://code.sololearn.com/WdgtYIoPvwRy/?ref=app
6 Answers
+ 3
For example the link to Chirag's profile is
https://www.sololearn.com/Profile/1725640/?ref=app
so the link to his profile picture is
https://api.sololearn.com/uploads/Avatars/1725640.jpg
where 1725640 is Chirag's ID
+ 8
Thanks Siddharth
+ 4
It's not difficult. Every sololearner is given a ID.
The profile picture is assigned the name as ID.jpg
+ 1
So they are accessible not only inside the Sololearn.
+ 1
Thanks a lot for the insight, I think I get it now...
0
How do some people knowâŠ