"You're never too old or too busy to continue your education!" the 38-year-old former "Desperate Housewives" star tweeted.
Longoria told E! News earlier this month she had been working on her thesis until the last minute to ensure she graduated on time.
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'
Kate Middleton recycles dress at movie premiere