Patent ID: 8572174

Claim:
A 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; requesting information from the social networking system for presentation within the requested web page, wherein requesting information from the social networking system comprises sending an instruction to the social networking system to select the requested information based on one or more actions stored by the social networking system; providing to the social networking system an indication of whether the user has an existing session with the social networking system by allowing the social networking system to access a cookie stored on the user device; receiving the requested information from the social networking system, wherein the received requested information was determined by the social networking system based on actions stored by the social networking system and describing interactions taken by all users of the social networking system responsive to the indication provided to the social networking system specifying the user does not have an existing session with the social networking system; rendering the web page and the content based on the obtained information within the web page; and displaying the rendered web page.