+ 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

18th Jun 2017, 3:35 AM
Vaibhav Sharma
Vaibhav Sharma - avatar
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
18th Jun 2017, 3:54 AM
Siddharth Saraf
+ 8
Thanks Siddharth
18th Jun 2017, 4:35 AM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 4
It's not difficult. Every sololearner is given a ID. The profile picture is assigned the name as ID.jpg
18th Jun 2017, 3:47 AM
Siddharth Saraf
+ 1
So they are accessible not only inside the Sololearn.
21st Jun 2017, 4:27 AM
Wojtas
Wojtas - avatar
+ 1
Thanks a lot for the insight, I think I get it now...
29th Nov 2020, 10:39 AM
Samuel Mathew
Samuel Mathew - avatar
0
How do some people know

25th Aug 2017, 10:57 PM
Gautam Kumar (Gautam pandit)
Gautam Kumar (Gautam pandit) - avatar