If you sent the invite:
You do not need to enter any code. Your friend who received the code with your invite will need to enter it.
If you received the invite:
You will need to install and open the game to enter the Friend Code. You will have 7 days to enter it through the Settings feature located at the top right corner of the game.