1. A method comprising, by a computing device of a social-networking system: by the computing device, receiving, from a client system of a user of the social-networking system, instructions for generating a post in a news feed associated with the user on the social-networking system, wherein the post comprises unstructured text from the user; by the computing device, determining whether the unstructured text of the post comprises a request for a recommendation from other users of the social-networking system; by the computing device, parsing the unstructured text to identify one or more first entities and one or more first entity types referenced in the unstructured text; by the computing device, generating a structured query based upon the one or more first entities and the one or more first entity types referenced in the unstructured text of the post; by the computing device, generating a plurality of search results corresponding to a plurality of second entities matching the structured query, wherein each of the second entities has an entity type matching at least one of the first entity types; and by the computing device, sending, to the client system of the user responsive to receiving the instructions for generating the post, instructions for presenting one or more of the plurality of search results, wherein the search results are presented in association with the post by the user in the news feed associated with the user.
1. A method comprising, by a computing device of a social-networking system: by the computing device, receiving, from a client system of a user of the social-networking system, instructions for generating a post in a news feed associated with the user on the social-networking system, wherein the post comprises unstructured text from the user; by the computing device, determining whether the unstructured text of the post comprises a request for a recommendation from other users of the social-networking system; by the computing device, parsing the unstructured text to identify one or more first entities and one or more first entity types referenced in the unstructured text; by the computing device, generating a structured query based upon the one or more first entities and the one or more first entity types referenced in the unstructured text of the post; by the computing device, generating a plurality of search results corresponding to a plurality of second entities matching the structured query, wherein each of the second entities has an entity type matching at least one of the first entity types; and by the computing device, sending, to the client system of the user responsive to receiving the instructions for generating the post, instructions for presenting one or more of the plurality of search results, wherein the search results are presented in association with the post by the user in the news feed associated with the user. 3. The method of claim 1 , wherein determining whether the unstructured text comprises a request for a recommendation comprises determining whether the unstructured text matches one or more predetermined words associated with requests for recommendation.