Common/data/v1.1/NameWeb

Jump to: navigation, search

Web

Contains Web resources about a person or group.

Elements

NameTypeDescription
facebook NameFacebook [ ] Facebook accounts associated with the person or group named in the request. Facebook data will be returned only if "facebook" flag is present and the value is set to "on". If the flag is not present or set to "off", facebook data must not be returned.
twitter NameTwitter [ ] Twitter accounts associated with the person or group named in the request.Twitter data will be returned only if "twitter" flag is present and the value is set to "on". If the flag is not present or set to "off", twitter data must not be returned.

XML Response Example

<web>
   <twitter>
      <NameTwitter>
         <sn>ConanOBrien</sn>
         <n>Conan O'Brien</n>
         <bio>The voice of the people. Sorry, people.</bio>
         <url>http://teamcoco.com</url>
      </NameTwitter>
   </twitter>
   <facebook>
      <NameFacebook>
         <name>Conan O'Brien</name>
         <urlType>Official</urlType>
         <url>http://www.facebook.com/teamcoco</url>
         <status />
      </NameFacebook>
   </facebook>
</web>

JSON Response Example

{
   "twitter":[
      {
         "sn":"ConanOBrien",
         "n":"Conan O'Brien",
         "bio":"The voice of the people. Sorry, people.",
         "url":"http://teamcoco.com"
      }
   ],
   "facebook":[
      {
         "name":"Conan O'Brien",
         "urlType":"Official",
         "url":"http://www.facebook.com/teamcoco",
         "status":""
      }
   ]
}
 
Personal tools