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, and a story selected over other stories of the plurality of stories based on: the story being sponsored by an advertiser, and the 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.
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, and a story selected over other stories of the plurality of stories based on: the story being sponsored by an advertiser, and the 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. 13. The method of claim 1 , wherein the received information is received without revealing to the external system identities of the other users connected to the viewing user.