Tim Cook made an appearance at the Boylston Street Apple store

Tim Cook at Friday’s MIT commencement.
John Tlumacki/Globe Staff
Tim Cook at Friday’s MIT commencement.

Apple chief executive Tim Cook was spotted at his company’s Boylston Street outlet Friday.

Cook makes appearances at Apple outlets on a fairly regular basis, and he was in town to speak at MIT’s commencement, where he told graduates: “Don’t listen to trolls, and for God’s sake don’t become one.”

Later on Friday, people, including store employees, took to social media to post photos with Cook at the Boylston location:

Apple Family??CEO TIM COOK!

A post shared by Aisha Merced (@aishadaliz818) on

Today I met #Timcook at the #applestore

A post shared by Ian (@jollyole) on

hai #timcook

A post shared by Christina (Ye Eun) Koo (@goofball1354) on

#timcook #selfie

A post shared by �? (@texilicious) on

Tim Cook and Eddy Cue, it was a pleasure to connect with both of you..see you at Fenway tonight!

A post shared by Vikram Thomke (@vikram.thomke) on

Just another day in the office #timcook

A post shared by Melinda Pinto (@zooma56) on

When the boss visits work. #apple #timcook

A post shared by Nathan Schwartzberg (@nascomposer) on

#applestore #Boston #timcook #ceoapple #apple #babyphadol #weekend

A post shared by Tenzin Gyalpo (@phadol_gyalpo) on