In what appeared part of a trend the day after explosive devices killed three people and injured 176 at the Boston Marathon a bomb threat was made against the West New York Middle School, officials said.

Some 900 seventh- and eighth-graders were evacuated from the school, at 57th Street and Broadway, after a student alerted the principal to a bomb threat that was posted on Facebook, school officials said.

The principal was notified about the threat around 10 a.m. yesterday and the school was evacuated, Superintendent of Schools John Fauta said.

Four bomb-sniffing dogs from the Bergen County Sheriff’s Office, the Hudson County Sheriff’s Office, NJ Transit Police, and the Port Authority Police Department were brought in to sweep the school, Fauta said.

The school was cleared to reopen around 1:30 p.m.

The displaced students were taken to nearby Memorial High School at 56th Street and Broadway and robo-call messages were sent to parents informing them they could pick up the children prior to the normal 2:45 p.m. dismissal time.

Fauta said the incident was handled in a very orderly fashion by students and staff and credited school drills for the calm demeanor.

Fauta said the Facebook message could not be retrieved, so it wasn’t clear who posted it.

Asked if he thought the threat was related to Monday’s bomb blasts in Boston, Fauta replied, “I would imagine so, it appears to be the trend. After 9/11 we had similar threats.”

There were also bomb threats yesterday at schools in Marlboro, Lebanon Township, Edison and Scotch Plains.