1. A method for obtaining social information, the method comprising: requesting a web page from a web server, wherein the web page is within a domain of a third-party website that is different from a domain of a social networking system; receiving at a user device a markup language document for the requested web page, the markup language document including an instruction to create a frame within the web page that includes information obtained from the social networking system, wherein the frame comprises an iframe that contains a web page in the domain of the social networking system; requesting information from the social networking system based on an instruction in the markup language document, wherein requesting information from the social networking system comprises providing to the social networking system one or more parameters for selecting the requested information, wherein the requested information received from the social networking system is selected based on the parameters; providing to the social networking system an identification of a user associated with the user device; receiving the requested information from the social networking system, wherein the information received was determined by the social networking system based on social information associated with the user; rendering the web page including the information contained within the frame; and displaying the rendered web page.
1. A method for obtaining social information, the method comprising: requesting a web page from a web server, wherein the web page is within a domain of a third-party website that is different from a domain of a social networking system; receiving at a user device a markup language document for the requested web page, the markup language document including an instruction to create a frame within the web page that includes information obtained from the social networking system, wherein the frame comprises an iframe that contains a web page in the domain of the social networking system; requesting information from the social networking system based on an instruction in the markup language document, wherein requesting information from the social networking system comprises providing to the social networking system one or more parameters for selecting the requested information, wherein the requested information received from the social networking system is selected based on the parameters; providing to the social networking system an identification of a user associated with the user device; receiving the requested information from the social networking system, wherein the information received was determined by the social networking system based on social information associated with the user; rendering the web page including the information contained within the frame; and displaying the rendered web page. 2. The method of claim 1 , wherein the one or more parameters include at least a URL, domain, or network address for the requested information.