BOSTON — Usaama Rahim “liked” an Islamic State page on Facebook, but he also spoke out against the kind of violence that Islamic State extremists are fomenting across the Middle East.

In his public postings, the knife-wielding man who was fatally shot by members of Boston’s Joint Terrorism Task Force on Tuesday appeared to be a conservative Muslim, frowning on women plucking their eyebrows and musing on the proper length for men’s robes.

His decision to “like” the Islamic State in Iraq page concerns some moderate Muslim leaders who reviewed the dead man’s social media postings with The Associated Press, but they note that he posted no bloody pictures and made none of the violent calls to arms that many supporters of armed extremist groups espouse on social media.

Killing people is anti-Islamic, Rahim wrote, arguing that a key tenet of the faith is that “we do not fight evil with that which causes a greater evil.”

Rahim, 26, knew he was being watched by the FBI: He posted about that, too, back in 2012, writing that he had hung up on an FBI agent who called wanting to talk about some “allegations.”

TAUNTED FBI

“If you let them get close, trust me, they’ll have you making statements about things that could get you jail-time,” he wrote. “Try again, monkey-boys.”

He taunted the agents again later that day, after he said an FBI agent had asked a neighbor about him as well.

“They are persistent but guess what, they got nothing on me. Keep on coming, you stupid fools and I’ll sue the crap out of you for harassment,” he wrote.

The task force intensified its surveillance of Rahim to an around-the-clock detail at least seven days before this week’s fatal confrontation, after Rahim bought three military-style knives on Amazon.com. Agents listening to his phone calls also heard his nephew, David Wright, say something they interpreted as a reference to beheading, according to an FBI affidavit.

Boston Police Commissioner William Evans said officers decided to “take him down” after Rahim was overheard saying “I’m just going to, ah, go after them, those boys in blue.”

Evans said the reasons for the eavesdropping of Rahim are classified. Federal investigators said Rahim espoused extreme views online, but have not revealed details.

Rahim’s family doubts that he was radicalized. Their lawyer, Ronald Sullivan, said the allegations came as “complete shock.” His older brother Ibrahim called Usaama a patriotic, loyal U.S. citizen and proud Bostonian.

Ibrahim Hooper, of the Council on American-Islamic Relations, cautioned against drawing conclusions based on limited information.

FROM SOME, BENEFIT OF DOUBT

“It’s just premature to speculate,” he said. “Not enough evidence has been out there. We just need all the facts to come out.”

Yusufi Vali, executive director of the Islamic Society of Boston Cultural Center, also noted that Rahim “liked” the page of Mizanur Rahman, an extremist British Islamic activist. But other Islamic information sources he “liked” and cited are more mundane.

“You can certainly tell he’s a little bit more conservative,” Vali said. “Nothing that I see here suggests he’s definitely moving toward violence.”

Aaron Zelin, who studies jihadist groups at the Washington Institute, also found no indicators of extremism in the Facebook accounts Rahim put on public view, but cautioned that Rahim may have been active online in other ways that aren’t so easily seen.

‘LIKED’ JERRY SPRINGER

“I don’t think we have the full picture in terms of possible privacy settings, but also other potential accounts. I highly doubt he was only doing profile picture updates between 2013 and now,” he said.

Rahim appears to have operated two Facebook accounts. In the first, using the name Abdur-Rahim Al-amreeki, he quoted and analyzed religious texts as if he were a scholar, instructing others on how to make their faith more pure. Those who don’t believe in Allah “are sent to the hell-fire if they die upon disbelief regardless of their charity while they were alive,” he warned.

“Stop selling your souls to democracy! If you want Shariah, work for it!” he wrote in November 2012.

Rahim wrote that Muslims should be loyal to their leaders, including the royal family of Saudi Arabia. He occasionally posted dark images – one is an apocalyptic illustration of an ancient building destroyed and twisted into the word “RAGE” – but he also posted about playing Tetris online, and “liked” pages on gummy bears, baseball and Jerry Springer.

He apparently made no reference to his older brother, Ibrahim Rahim, a respected Muslim scholar known for preaching against violence after the 2013 Boston Marathon bombings.

Both of the younger Rahim’s Facebook accounts are linked by an identical post about his wedding in 2013, in which he thanked his family for helping him “devour all of that great food cooked by mother and mother in law.”

The AP was unable to find any Twitter account for Rahim, but Wright, who was arrested on a charge of conspiracy to obstruct a federal investigation on the day his uncle was shot, opened two of them. He sent just three tweets, one of which expressed sympathy with the Islamic State group. He also followed Rahman, the extremist Briton.