Social data

/social/:rootId.xml

Returns a single Social entity for a movie or TV series. The data returned includes the program's Root ID and title as well as a list of link nodes containing the link host name and ID and the link URL. 

Request Parameters

Parameter

Mandatory?

Description

seriesId or rootId

Yes

program identifier; accepts TV show's seriesId or movie's root ID (numeric)

api_key

Yes

24-character key obtained during application registration

Sample Request

http://feeds.tmsapi.com/social/9287010.xml?api_key=1234567890

Sample Response

<!--?xml version="1.0" encoding="UTF-8"?-->
<social>
  <movie>
    <rootid>9287010</rootid>
    <title>Django Unchained</title>
    <links>
      <link />
        <host id="79625">Facebook</host>
        <url>http://www.facebook.com/108187262608717</url>      
      <link />
        <host id="79629">Wikipedia</host>
        <url>http://en.wikipedia.org/w/index.php?curid=31638720</url>
      <link />
        <host id="79627">IMDB</host>
        <url>http://www.imdb.com/title/tt1853728</url>
      <link />
        <host id="79626">Twitter</host>
        <url>http://twitter.com/unchainedmovie</url>
      <link />
        <host id="79628">Rotten Tomatoes</host>
        <url>http://www.rottentomatoes.com/m/django_unchained_2012/</url>
    </links>
  </movie>
</social>