how do you know how many xp you have on duolingo?
If you are using the mobile version of Duolingo it should be the first thing you see in your profile. If you are on a computer, you need to go to your homepage. Scroll down on the side bar until you see your friend's xp. You will find the option to switch from weekly, monthly or all-time score.