Patent ID: 9710765
Date: 2017-07-18
CPC Classifications: G06F,G06Q,H04L

Claim:
1. A method comprising: accessing, by a client device, a structured document from a website external to a social-networking system, wherein the structured document comprises markup language comprising instructions that identify one or more social-network data elements of a plurality of social-network data elements of the social-networking system and, when processed, retrieve the identified social-network data elements stored on the social-networking system; determining each social-network data element identified by the instructions in the structured document; retrieving, for each social-network data element, a user preference stored on the social-networking system, each user preference describing whether a server associated with the website is allowed to access the social-network data element; determining, based on each user preference, whether the website is allowed to access each social-network data element; responsive to determining that the website is not allowed to access at least one of the social-network data elements, providing a user interface element for display in association with a portion of the structured document associated with the at least one of the social-network data elements; rendering, by the client device, the structured document as a displayable web page based on the markup language, wherein the displayable web page comprises one or more of the social-network data elements and a corresponding user preference element for each retrieved social-network data element; receiving, by the client device, an input to the user interface element, the input indicating a modification of the user preference for the at least one of the social-network data elements; and transmitting the modification to the social-networking system to allow the website to access the at least one of the social-network data elements.