TECHNICAL FIELD

This disclosure generally relates to social graphs and generating content within a social-networking environment.

BACKGROUND

A social-networking system, which may include a social-networking website, may enable its users (such as persons or organizations) to interact with it and with each other through it. The social-networking system may, with input from a user, create and store in the social-networking system a user profile associated with the user. The user profile may include demographic information, communication-channel information, and information on personal interests of the user. The social-networking system may also, with input from a user, create and store a record of relationships of the user with other users of the social-networking system, as well as provide services (e.g. wall posts, photo-sharing, event organization, messaging, games, or advertisements) to facilitate social interaction between or among users.

The social-networking system may send over one or more networks content or messages related to its services to a mobile or other computing device of a user. A user may also install software applications on a mobile or other computing device of the user for accessing a user profile of the user and other data within the social-networking system. The social-networking system may generate a personalized set of content objects to display to a user, such as a newsfeed of aggregated stories of other users connected to the user.

Social-graph analysis views social relationships in terms of network theory consisting of nodes and edges. Nodes represent the individual actors within the networks, and edges represent the relationships between the actors. The resulting graph-based structures are often very complex. There can be many types of nodes and many types of edges for connecting nodes. In its simplest form, a social graph is a map of all of the relevant edges between all the nodes being studied.

SUMMARY OF PARTICULAR EMBODIMENTS

In particular embodiments, the social-networking system may receive a text post inputted by a user of an online social network and parse the text post to identify a query associated with the post. The query may be a request by the user for recommendations about, for example, a place, activity, service, event, etc. For example, a user may post to the online social network asking others for thing-to-do in a city, e.g., “I'm going to Barcelona next week, what should I do there?” The social-networking system may then receive one or more comments from other users responding to the post with particular recommendations, and may identify objects of the online social network associated with the recommendations. For example, a friend of the user may reply to the post with a comment that says “You should visit Parc Guell. It's lovely!” The social-networking system may parse this comment and determine that the commenter is providing a recommendation for the Parc Guell in Barcelona, Spain, which corresponds to a particular profile page of the online social network. The social-networking system may then generate a recommendation list including references to the identified objects which the users can interact with in the online social network. For example, in response to the recommendations provided by the querying user's friends, the social-networking system may generate a recommendation list for “Things to do in Barcelona,” which includes reference to the Parc Guell and other places recommended by the user's friends in the comments to the post.

The embodiments disclosed above are only examples, and the scope of this disclosure is not limited to them. Particular embodiments may include all, some, or none of the components, elements, features, functions, operations, or steps of the embodiments disclosed above. Embodiments according to the invention are in particular disclosed in the attached claims directed to a method, a storage medium, a system and a computer program product, wherein any feature mentioned in one claim category, e.g. method, can be claimed in another claim category, e.g. system, as well. The dependencies or references back in the attached claims are chosen for formal reasons only. However any subject matter resulting from a deliberate reference back to any previous claims (in particular multiple dependencies) can be claimed as well, so that any combination of claims and the features thereof are disclosed and can be claimed regardless of the dependencies chosen in the attached claims. The subject-matter which can be claimed comprises not only the combinations of features as set out in the attached claims but also any other combination of features in the claims, wherein each feature mentioned in the claims can be combined with any other feature or combination of other features in the claims. Furthermore, any of the embodiments and features described or depicted herein can be claimed in a separate claim and/or in any combination with any embodiment or feature described or depicted herein or with any of the features of the attached claims.

