The Delaware Supreme Court on Tuesday ruled that an undercover detective’s two-year monitoring of a suspect using a fake Facebook profile did not violate Fourth Amendment protections against illegal searches and seizures.

A three-member panel of the high court ruled that Terrance E. Everett did not have a reasonable expectation of privacy when he shared an incriminating photo with his “friends” on the social-networking site, including Detective Bradley Landis, who had been tracking Everett’s posts under an account with a false name with profile pictures he had pulled from the internet.