Social networking site Facebook has introduced a new feature which delivers ads to users based on their search queries.

A Facebook spokeswoman said that the company has launched a feature that surfaces sponsored results along with the organic results when people are looking for things on it.

"We try to show people apps and pages they’ll be most interested in," spokeswoman said.

Most of Facebook’s revenues are generated from ads, but until now the site has not directly connected those ads to search queries in the manner of the search engines like Google and Yahoo.

Facebook stock hit an all time low of $19.69, almost half of its initial price when the company debuted on Nasdaq at $38 per share in May.

The company reported a net loss of $157m in the second quarter compared to a net income of $240m in the same quarter a year ago.

Facebook’s second quarter loss was largely affected by share based compensation expenses for employees in the wake of its IPO, which totalled $1.3bn.

Earlier in August 2012, the social network had launched mobile ads for developers to grow their business with an ad unit that helps them reach and reengage their users.