摘要 |
A social networking system generates socially-relevant stories for a user based on other users (e.g., based on actions taken by other users) to whom the user is connected. These socially-relevant stories, including news stories, social advertisements, etc., may be presented on a web page within a domain of an external system that is different from the domain of the social networking system. When a web page from an external system is requested for a viewing user, the social content about other users who are connected to the viewing user may be provided by the social networking system for that viewing user. This personalized social content may be presented in a frame (e.g., an iframe) of the external web page rendered and provided for display to the viewing user. |
主权项 |
1. A method comprising;
requesting, by a user device, a web page from an external system for display to a viewing user, wherein:
the viewing user is connected to a plurality of other users in a social networking system;the requested web page is within a domain of the external system that is different from a domain of the social networking system; requesting, by the user device, information from the social networking system based on an instruction for the requested web page to create an interface within the web page that includes information obtained from the social networking system; receiving, at the user device, the requested information from the social networking system, the received information comprising a story selected for presentation as a social advertisement, wherein the story comprises:
a story selected from a plurality of stories generated by the social networking system for the viewing user about actions identified by the social networking system as having been taken on objects by other users connected to the viewing user, anda story selected over other stories of the plurality of stories based on:
the story being sponsored by an advertiser, andthe story comprising an action identified by the social networking system as having been taken on an object by a user, the action matching a type of action identified in an advertisement request, the type of action having been selected by an advertiser from a plurality of types of actions provided to the advertiser by the social networking system; and rendering, at the user device, the web page including the received information contained within the interface. |