Can I buy shuttle tickets for all my friends?

Yes, but they must be present when you are checking-in at the SDTJ Lot in San Ysidro (3020 East Beyer Blvd, San Ysidro CA 92173).