Unfortunately, you are not able to collect rewards for orders that were completed prior to joining the program. This also applies to order where you forgot to log in.
You must be logged in either via Apple, Google, or Facebook for that order to count towards Tasty Rewards, and you must use the same login every time. You cannot mix Facebook, Google, or Apple logins.